Get the entire project containing this file version

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

Moderator: SourceGear

Post Reply
nkojuharov
Posts: 6
Joined: Tue Feb 15, 2005 10:53 am

Get the entire project containing this file version

Post by nkojuharov » Thu Feb 17, 2005 4:12 pm

I recently switched to Vault from SourceSafe and so far it's been great, but I just encountered a problem I cannot resolve. In SourceSafe wehn you get a the (recursive) history of a folder, then do a "get" of some previous version, what you get is the entire project at that point in the history. (The VSS message box says "Get the entire project containing this file version?"). In Vault there doesn't seem to be a way to do this.

In Vault when you do a history by item on the folder and attempt to get an older version, what you get is the old version of the selected file only.

I thought doing a history of the folder by version will remedy the problem, however (and this may actually be a bug), when I do a (recursive) history by version, a large part of the changes don't even appear in the history. So the best I can do is get the last version of the project which appears in the version history and then I have to manually get the missing changes.

Here is what I see:

change Z <----- visible in history by version (ver. 95)
...
change E
change D <----- I want the whole folder at this point (i.e. E, etc.)
change C
change B
...
change A <------ visible in history by version (ver. 94)


Is there a way to do in Vault what VSS used to do?

Nikolay

nkojuharov
Posts: 6
Joined: Tue Feb 15, 2005 10:53 am

Post by nkojuharov » Thu Feb 17, 2005 4:21 pm

Actually, this might be an import (from VSS) problem. The folder versions history looks like this:

Version | Date | User
...
95 | 7/13/04 | A
94 | 7/13/04 | A
...
32 | 7/13/04 | A
31 | 1/25/05 | nkojuharov <---- wrong!!! should be version 94.5
30 | 7/13/04 | A
...

Still, it would be nice if I could do what VSS did. Any suggestions?

Nikolay
Last edited by nkojuharov on Fri Feb 18, 2005 8:51 am, edited 1 time in total.

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

Post by jeremy_sg » Fri Feb 18, 2005 8:24 am

The import is the cause of the limitation that you're seeing. Because VSS doesn't version folders, there is no way for the import to accurately bring in VSS history in the exact order that it happened in VSS. To get around that, the import creates all of the folders that will be imported and then imports all of the files, one at a time. Once you start using Vault normally, you will find that it can allow you to download the correct version of a folder at any time (as long as that version was created after the import was completed). I'm sorry about this limitation, but we did the best we could to make sure that all of the file histories were imported correctly, even if we couldn't do the folder histories.

nkojuharov
Posts: 6
Joined: Tue Feb 15, 2005 10:53 am

Post by nkojuharov » Fri Feb 18, 2005 8:47 am

Thanks. This is worth knowing.

Post Reply