Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 296139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:31:17+00:00 2026-05-12T06:31:17+00:00

When isolating code for a release, is there any advantages to using labels over

  • 0

When isolating code for a release, is there any advantages to using “labels” over “branches”.

The process we follow is to branch code close to release and stabilize the release on the branch. After release is approved by SQA we merge changes back to mainline.

Other dev groups use labels to ‘isolate’ the code base used for a release. I don’t like this for following reasons (which may be wrong):

  • vault doesn’t support merging from labels to other labels. The merge support between branches is excellent
  • can’t remove permissions on labeled items to stop modification. you can restrict access
    to branches.

Thoughts appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:31:17+00:00Added an answer on May 12, 2026 at 6:31 am

    This is just my viewpoint below. I think there are many ways to do it, but I think you got it right in that branches are better than labels for this sort of thing.

    Here’s how I think of it:

    The code under trunk is the code that is going to production. If there is code in there that is not going to be used in the next release, that code should be moved to a branch.

    Branches are then used to track future developments. So, tomorrow, create a branch (Branch A), from the trunk, and start adding feature A. Once SQA approves of Branch A, merge it back onto the trunk and push trunk to production.

    Notice, in that case, that Patch X could be made to the trunk. You might need a simple 1 line change and a quick test and regression test by SQA to vet Patch X. But because feature A was being developed on a branch, it wasn’t holding up the release of Patch X.

    Any time you release Trunk to production, throw a label down across all of trunk that marks when a certain version was released. The point with the label is to be able, at a later date, to retrieve the exact code that was released at a certain point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 165k
  • Answers 165k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer FractalizeR answer is the right one. Just let me expand… May 12, 2026 at 12:31 pm
  • Editorial Team
    Editorial Team added an answer When you call the init_fb_connect helper method in your view,… May 12, 2026 at 12:31 pm
  • Editorial Team
    Editorial Team added an answer initWithFormat:arguments: NSString *estr(NSString *format, ...) { va_list args; va_start(args, format);… May 12, 2026 at 12:31 pm

Related Questions

In many embedded applications there is a tradeoff between making the code very efficient
This question is more or less programming language agnostic. However as I'm mostly into
I've seen a number of 'code metrics' related questions on SO lately, and have
I'm writing a daemon to monitor creation of new objects, which adds rows to
Using Visual Studio 2008 / C# / VS Unit Testing. I have a very

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.