Branch from a label?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
spatialminds
Posts: 16
Joined: Tue Sep 09, 2008 8:56 pm

Branch from a label?

Post by spatialminds » Wed May 13, 2009 10:23 am

Is it possible to branch from a label?

E.g. We have product that has labels version 1.0.0, version 2.0.0, version 2.0.1, and version 2.1.0. Is it possible to branch label "version 2.0.1" to a new repository labeled "version 2.0.2"?

Thanks,
Craig

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Branch from a label?

Post by lbauer » Wed May 13, 2009 12:09 pm

You can branch from a label to a different location in the same repository, but not to a different repository. A workaround would be to Get the label, then add those files as new to the new repository. The downside would be that there would be no file history.

Another option might be to export the folder that's labeled, and import it into a new repository, then branch the label. This might take some time, however, as an export recreates the entire folder history.

To branch from a label, use the Show Labels command on the folder, select the appropriate label, right-click, and choose "Branch."

Let me know if you have additional questions.
Linda Bauer
SourceGear
Technical Support Manager

kyledross
Posts: 1
Joined: Tue Apr 27, 2010 12:05 pm

Re: Branch from a label?

Post by kyledross » Tue Apr 27, 2010 12:07 pm

How do you branch from a label using the command-line Vault.exe? I see in the documentation how to branch from a folder, but not from a label.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Branch from a label?

Post by lbauer » Wed Apr 28, 2010 10:27 pm

This functionality is not available from the Command Line Client.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply