What recouse is there if one "forgets" to label or

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

Moderator: SourceGear

Post Reply
jboy
Posts: 15
Joined: Tue Feb 06, 2007 9:22 pm

What recouse is there if one "forgets" to label or

Post by jboy » Tue Feb 06, 2007 9:39 pm

Is there any recourse if one forgets to branch or label at an appropriate place? While there is definately no better time than the right time, for branching code or planting a label into your source, it seems to me that there should be some sort of recourse for situations where oversight has occured.

Example:

In VSS you could view history recursively for a folder, go down the file changes list until you found the snapshot in time where you want to perform some maintenance, and then do a Get Latest on the whole branch at that point in time. For all VSS's other faults, this was a pretty handy (and forgiving) feature.

I would encourage SC to add this abiltiy into Vault - even if it were just a non-default option when doing a Get Latest from a History window.

Another option would be:

Retrospective labelling - Allow a label to be inserted retorspectively into a folder by picking the date/time.

If a label could be inserted retrospectively then that would make it possible to do an arbitrary Get Latest for any oint of time, or even go back and branch the code at some arbitrary point of time.

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

Post by lbauer » Wed Feb 07, 2007 8:39 am

Is there any recourse if one forgets to branch or label at an appropriate place?
Yes, this capability already exists in Vault.

Select the project in the folder tree, right click and Show History. Use the option View Folder History by Version. In the list of folder versions, you can select the version/date you want and from here you have options to Diff, Share, Branch, Label, Pin, View Tree and Get Tree.
Linda Bauer
SourceGear
Technical Support Manager

NMIMT85
Posts: 1
Joined: Thu Jun 07, 2007 12:50 pm

Post by NMIMT85 » Thu Jun 07, 2007 12:54 pm

This is great information. We have a similiar challenge where we want to label everything that existed prior to a certain date/time. So now we know how to do that using the UI.

Is there a way to do this in an automated manner from our Build scripts? Say from the command line or from nant?
Mary McClure
KPO Software Engineer
Kelley Blue Book
Irvine, CA

Post Reply