Hi,
SourceOffSite v. 3.5.3 has a strange behaviour - when I label some project and then I get the label, some source files are from an older label. I have to select separately each file in project and then get the requested label and after this, it is OK....but you can image how big it is a problem if I have a huge project...any idea how to solve it?
Thanks
Problem with labels in version 3.5.3
Moderator: SourceGear
Are you seeing files that were deleted prior to this label? You may be encountering a known issue in SOS 3.5.3:
Another possibility is that you are experiencing minor database corruption, which is causing unexpected results. In that case, I suggest running Analyze on your VSS database:
http://support.sourcegear.com/viewtopic.php?t=50
Note: This has been fixed in SOS 4.1.x. SOS now gets only the files in that label.In previous versions of SourceOffSite, the Get by Label operation would
not retrieve deleted projects or files. This could result in a Get by Label
operation not returning all files and projects associated with that label.
This was clearly not the expected nor desired behavior.
In version 3.0, Get By Label was changed to get all files associated with
the label, regardless of whether they were deleted. While the SourceSafe
Automation component was happy to let the SourceOffSite Server know
that files in deleted projects needed to be retrieved, the successive call to
actual retrieve the project would fail since the project didn't exist!
Now, in SourceOffSite 3.5 and later, special care is taken to get each file
appropriately, whether its project exists or not. Unfortunately, the
SourceSafe automation layer applies labels across the board to files, even
when they have already been deleted. This means that a Get by Label
operation will retrieve deleted files and projects, some of which may have
actually been deleted before the label in question was applied. This may
result in the Client retrieving more files than expected. The SourceSafe
Automation layer does not provide a reasonable method of determining
which happened first, the file deletion or the application of the label.
To avoid unwanted files and projects from being retrieved by
SourceOffSite when performing a Get by Label operation, the SourceSafe
database could be altered in one of the following two ways:
* Purge the deleted files.
* If you wish to keep a copy of the files around, archive the files.
Once the deleted files are archived or purged, the Get By Label operation
in SourceOffSite will not return deleted files. Get By Label will only return
deleted files which have not been archived or purged.
Another possibility is that you are experiencing minor database corruption, which is causing unexpected results. In that case, I suggest running Analyze on your VSS database:
http://support.sourcegear.com/viewtopic.php?t=50
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager