Vault - Branching does not copy labels
Moderator: SourceGear
Vault - Branching does not copy labels
When I do a branch in Vault (v2.0.2) I noticed that although the entire history of a file gets copied, any labels do not. Is this to be expected? If so is there another way that I can create a copy of my source with its entire history?
Just to give you an overview of our setup we currently support 3 versions of our product and hence require 4 source paths - 3 for maintenance purposes and 1 current development. When we are about to do a release we label the current development path i.e '6.5 code cut off' and then copy/branch the tree to create a new 6.6 path. The 6.5 path then keeps going for maintenance which contains a history identifying when it was releases, and a new path which also contains a history including details of releases.
Anyway, unfortunately it wouldn't really help to label the new path as the problem is that we will still lose all the older release labels. This is currently important for our root cause analysis where we use the file history to carry out diff's to see which version and release a bug was possibly introduced.
I suppose it is more of an issue because if we decide to go ahead then the old labels will be lost from the file history forever.
Thanks.
Anyway, unfortunately it wouldn't really help to label the new path as the problem is that we will still lose all the older release labels. This is currently important for our root cause analysis where we use the file history to carry out diff's to see which version and release a bug was possibly introduced.
I suppose it is more of an issue because if we decide to go ahead then the old labels will be lost from the file history forever.
Thanks.
Paul Lawrence
Snr Software Engineer
Princeton Financial Systems
Snr Software Engineer
Princeton Financial Systems
I see. You want the labels including sources (from branch) to be able to diff within the History Explorer when a suspected bug arises.
There is a temporary work-around until the fix is implemented, and yes, it is a major, major kludge. You could get the label(s) of the "source" file, and then within the branch, diff against the different labels that were retrieved to disk.
There is a temporary work-around until the fix is implemented, and yes, it is a major, major kludge. You could get the label(s) of the "source" file, and then within the branch, diff against the different labels that were retrieved to disk.
I don't understand what you mean by this sentence. Can you elaborate more here?lawrep wrote: I suppose it is more of an issue because if we decide to go ahead then the old labels will be lost from the file history forever.
Jeff Clausius
SourceGear
SourceGear
I meant that once we do one branch, say to create a 6.6 release, this path will not contain the old labels. Subsequently any further releases taken from this path will also not contain the old labels - as even if you have fixed the problem there will be no labels to copy.
Anyhow, I think we have a solution for our current situation. Because we have only just moved over to Vault and there have been limited changes I can re-create the new release path by importing from the old VSS database and then simply renaming it. (the previous release was in VSS).
Hopefully then by the time we come to creating our next release branch (in approx 6 months) you will have a fixed this issue?
Thanks for your help
Anyhow, I think we have a solution for our current situation. Because we have only just moved over to Vault and there have been limited changes I can re-create the new release path by importing from the old VSS database and then simply renaming it. (the previous release was in VSS).
Hopefully then by the time we come to creating our next release branch (in approx 6 months) you will have a fixed this issue?
Thanks for your help
Paul Lawrence
Snr Software Engineer
Princeton Financial Systems
Snr Software Engineer
Princeton Financial Systems
I'm uncertain why you think the branched item will not contain any of the source labels. Any fix we provide for this problem will be retro-active.
In other words, in Vault 2.0.3, labels applied against the source of a branch do not display in History Explorer of the branch. When the fix is implemented, these labels will be displayed in History Explorer.
For example:
a) have a repository tree with - $/trunk/
b) $/trunk/ is labeled with 'hit 6.6 release date'
c) $/trunk/ is branched into $/trunk/releases/6.6/
After the fix has been implemented, History for $/trunk/releases/6.6/foo.asm will contain the history for $/trunk/foo.asm to the point of the branch, as well as any labels applied to foo.asm to the point of the branch PLUS the history that occurred after the branch.
In other words, in Vault 2.0.3, labels applied against the source of a branch do not display in History Explorer of the branch. When the fix is implemented, these labels will be displayed in History Explorer.
For example:
a) have a repository tree with - $/trunk/
b) $/trunk/ is labeled with 'hit 6.6 release date'
c) $/trunk/ is branched into $/trunk/releases/6.6/
After the fix has been implemented, History for $/trunk/releases/6.6/foo.asm will contain the history for $/trunk/foo.asm to the point of the branch, as well as any labels applied to foo.asm to the point of the branch PLUS the history that occurred after the branch.
Jeff Clausius
SourceGear
SourceGear
Second the motion
I too would very much like to see labels from the source tree displayed in the History of the branch.
(This is not a big deal for us right now, but it will be important in the not-too-distant future.)
(This is not a big deal for us right now, but it will be important in the not-too-distant future.)
Has this been fixed yet?
We are about to cut our next release so I was wondering if this problem has been fixed yet? (since 2.0.2)
Thanks,
Paul
Thanks,
Paul
Paul Lawrence
Snr Software Engineer
Princeton Financial Systems
Snr Software Engineer
Princeton Financial Systems