Branch from a Label in the past

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

Moderator: SourceGear

Post Reply
dionloy
Posts: 1
Joined: Sat Nov 06, 2004 11:22 am

Branch from a Label in the past

Post by dionloy » Fri Mar 11, 2005 12:35 pm

Is there an easy way to create a branch from a label in the past ?

I went through a bunch of possibilities in the client. Closest I thought was listing all labels for a certain folder, right-click on a label in the past, then doing a 'Branch...'. The branch ended up being the head instead of the label.

Thanks.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Mar 11, 2005 1:45 pm

Was this label imported from VSS? Imported labels have this restriction (they won't be branched properly), but standard labels in Vault work fine.

Guest

Post by Guest » Tue Mar 15, 2005 2:53 pm

This was a Vault-created label. After I right-clicked on the label to Branch, the branched source tree was identical to the head (contained check-ins after the label).

Maybe I did something wrong? I'm on 3.0.0

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Tue Mar 15, 2005 3:04 pm

This worked fine for me in 3.0.

One thing to remember about branching is that the version number will be incremented. A branch in Vault creates a new item with version of N + 1, where N is the version of the original item that was labeled.

Are the contents of the files in the branch wrong?

Post Reply