Different template versioning in Vault and SourceOffSite

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

Moderator: SourceGear

Post Reply
alexcanderc
Posts: 3
Joined: Fri Feb 20, 2009 3:32 am

Different template versioning in Vault and SourceOffSite

Post by alexcanderc » Fri Feb 20, 2009 4:06 am

We've used SourceOffSite for a long time and then decided to migrate our source control repository to the Vault. The problem we experiencing now is that the versions displayed in the History Explorer are not the same that we used to see in the SoS - the labels in Vault are not increasing the template version number. This is very inconvenient because we have a lot of template-check-in comments that are referring the old-style versions (where each label was incrementing the template version).

Is there any option in server/client configuration or probably a fixing SQL script to allow us viewing the old-style template version in the History Explorer?

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

Re: Different template versioning in Vault and SourceOffSite

Post by lbauer » Fri Feb 20, 2009 4:22 pm

Are you having a problem with comments/labels imported from VSS, or is this a problem with new labels?
Linda Bauer
SourceGear
Technical Support Manager

alexcanderc
Posts: 3
Joined: Fri Feb 20, 2009 3:32 am

Re: Different template versioning in Vault and SourceOffSite

Post by alexcanderc » Sun Feb 22, 2009 4:36 pm

In the Vaults' History Explorer dialog there is a column named 'Version'. The problem is that if I label a template - the version in that column remains the same for each new label. And when we used VSS the version of a template has been increased each time it was labeled. So we were using the old version numbers in our check-in comments and now the integrity of our repository is broken because the old check-in comments are referring incorrect versions.

Here is an example for a template 'template.txt', how it was in VSS

Code: Select all

Name            User     Date                     Version  Action              Comment
template.txt    admin    <12/06/2008 03:04:32>    6        Checked In          restoring the vesrion #4 
template.txt    admin    <12/05/2008 02:06:45>    5        Labeled label2
template.txt    admin    <12/04/2008 04:03:43>    4        Checked In          Second update of the template.txt
template.txt    admin    <12/03/2008 03:04:39>    3        Labeled label1
template.txt    admin    <12/02/2008 02:06:23>    2        Checked In          First update of the template.txt
template.txt    admin    <12/01/2008 01:03:10>    1        Created             Created a new template
And here is the same table displayed in Vault Client (after migration) - please note the different numbers in the Vertion column

Code: Select all

Name            User     Date                     Version  Action              Comment
template.txt    admin    <12/06/2008 03:04:32>    4        Checked In          restoring the vesrion #4 
template.txt    admin    <12/05/2008 02:06:45>    3        Labeled label2
template.txt    admin    <12/04/2008 04:03:43>    3        Checked In          Second update of the template.txt
template.txt    admin    <12/03/2008 03:04:39>    2        Labeled label1
template.txt    admin    <12/02/2008 02:06:23>    2        Checked In          First update of the template.txt
template.txt    admin    <12/01/2008 01:03:10>    1        Created             Created a new template
So the problem now is that in the Valut the comment for version #4 is incorrect because it's referring the wrong template' version

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

Re: Different template versioning in Vault and SourceOffSite

Post by lbauer » Mon Feb 23, 2009 11:30 am

There's not much we can do about the version number. However can edit transaction comments in the history details dialog if you are logged into the GUI client as the admin user. To edit the comment, select the item, right-click and Show History. Then right-click on the version and select Details. You can edit the comment from here.
Linda Bauer
SourceGear
Technical Support Manager

alexcanderc
Posts: 3
Joined: Fri Feb 20, 2009 3:32 am

Re: Different template versioning in Vault and SourceOffSite

Post by alexcanderc » Wed Feb 25, 2009 11:21 am

We have hundreds of templates, some of them having more than 100 versions. Is there any better solution? Probably some SQL script to update the Vault's DB?

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

Re: Different template versioning in Vault and SourceOffSite

Post by lbauer » Wed Mar 11, 2009 7:28 am

Sorry, there's no way to update this with a SQL Script.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply