Branch a previous version?

If you are having a problem using Vault, post a message here.
Post Reply
HankB
Posts: 20
Joined: Fri Apr 17, 2015 1:02 pm

Branch a previous version?

Post by HankB » Tue Sep 22, 2015 2:11 pm

I need to go back to a previous version of our code, make a minor change and build. I cannot see how to do that. The context menu and main menu items all seem to refer to the most recent version.

Ideally I think I should branch the older version, make the change and then (if desired) merge the changes back to the trunk. (It's a one character change so merging is not really necessary.)

The version I want has been labelled if that helps.

Help on how to get back to the previous version would be really appreciated!

Thanks!

Edit: Forgot to add: We are using Vault Pro 8.0.1 (30299)

Edit 2: I think I found it. It looks like I can do that from the History window. Is that correct? Is there anywhere else I can branch a previous version? It takes the History window 8 minutes to load.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Branch a previous version?

Post by Beth » Tue Sep 22, 2015 4:06 pm

Yes, you can branch from history. You can branch either a folder or files.

If you have a lot of changes to make, then the easiest way I found would be to perform a Show History, but choose the option to Show History by Folder Version on the window that pops up. Then you will get each individual folder version of the folder you had selected. You can view what's in each folder version or look at the dates to determine which version to choose. Then you can branch the entire folder and commit the branch (if you don't have auto-commit turned on).
Beth Kieler
SourceGear Technical Support

HankB
Posts: 20
Joined: Fri Apr 17, 2015 1:02 pm

Re: Branch a previous version?

Post by HankB » Wed Sep 23, 2015 8:34 am

Hi Beth,
Thank you for the tips.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Branch a previous version?

Post by Beth » Wed Sep 23, 2015 8:45 am

You're welcome.
Beth Kieler
SourceGear Technical Support

Post Reply