Get old files and branch them?

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

Moderator: SourceGear

Post Reply
erict
Posts: 33
Joined: Fri Sep 10, 2004 9:32 am

Get old files and branch them?

Post by erict » Thu Jul 20, 2006 10:39 am

I've messed up and need to retrieve all files as they were in May. A bunch of files have been updated since, but many are unchanged. I saw a post that describes that in History one can get all files for a folder by date -- but I'm thick in the head and don't get it. If I do a show history for a specific date (in my case May 13th), I see no files, since nothing was updated that day. If I just do a show history for my folder I see a bunch fo files and I can draw a mental line in the history where I want my files. But how do I say GET that includes all the files in that folder, even the ones that were last changed in, say, 2004?

Ideally I would like to branch at that point and label the branch. Can I do that?

Thanks for all help.

Eric T.

erict
Posts: 33
Joined: Fri Sep 10, 2004 9:32 am

re: Get old files and branch them

Post by erict » Thu Jul 20, 2006 10:52 am

OK, I figured something out. When Showing history, ask for "View Folder history by Version". That seems to get me what I want. If I select a particular version in the Folder Versions view and then click Label, will I label it at that point in history? And if I clicked Branch I would branch all those files from that version into a separate project?

Thanks for any and all help...

Eric T

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

Post by lbauer » Thu Jul 20, 2006 12:36 pm

If I select a particular version in the Folder Versions view and then click Label, will I label it at that point in history? And if I clicked Branch I would branch all those files from that version into a separate project?
Yes, the label will be applied to the specific version you selected.

And yes, the folder will be branched to a separate project at that version.
Linda Bauer
SourceGear
Technical Support Manager

jxsanche
Posts: 6
Joined: Thu Mar 16, 2006 12:13 pm

Post by jxsanche » Mon Dec 11, 2006 12:20 pm

One quick tidbit that I just learned (related to this topic).

If you have a SourceSafe repository and your app is stored at '$/MyApp' but when you migrate it to vault you change the folder to '$/trunk', for example, if you want to branch out of a label that was created from SourceSafe, it will not let you do that.

I don't think this is so much because the label was created before the migration but rather that the folder name when the label was originally created is different from the current one. At least that's what it seems... :?

I hope this helps,
Julian

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

Post by lbauer » Mon Dec 11, 2006 8:44 pm

That's quite possible. For shares and labels to work during and after the import, the Vault repository structure (and folder names) should match those in VSS.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply