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?
Different template versioning in Vault and SourceOffSite
Moderator: SourceGear
-
- Posts: 3
- Joined: Fri Feb 20, 2009 3:32 am
Re: Different template versioning in Vault and SourceOffSite
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
SourceGear
Technical Support Manager
-
- Posts: 3
- Joined: Fri Feb 20, 2009 3:32 am
Re: Different template versioning in Vault and SourceOffSite
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
And here is the same table displayed in Vault Client (after migration) - please note the different numbers in the Vertion column
So the problem now is that in the Valut the comment for version #4 is incorrect because it's referring the wrong template' version
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
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
Re: Different template versioning in Vault and SourceOffSite
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
SourceGear
Technical Support Manager
-
- Posts: 3
- Joined: Fri Feb 20, 2009 3:32 am
Re: Different template versioning in Vault and SourceOffSite
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?
Re: Different template versioning in Vault and SourceOffSite
Sorry, there's no way to update this with a SQL Script.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager