Problems with get latest from label

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

Moderator: SourceGear

Post Reply
rgkeefer
Posts: 23
Joined: Wed Feb 11, 2004 5:49 pm
Location: Tucson, AZ

Problems with get latest from label

Post by rgkeefer » Tue Jul 06, 2004 2:03 pm

When a piece of code is ready to be deployed we create a label. Lately, when I go to get the latest version of the code from a label created, I get an error saying "Get Latest Version failed for some files. See the messages window for details." The messages window says:

"Local file update for Util/Generic.vb failed: VaultClientOperationsLib.VCDiffException: CRC mismatch after applying delta (server CRC: 2752831503, computed CRC: 797532123)
at VaultClientOperationsLib.WorkingFolder.UpdateHiddenFileContentsFromDelta(VaultClientFile file, String deltaFile, Int64 baseVersion, Int64 targetVersion, UInt32 targetCRC)
at VaultClientOperationsLib.UpdateThread.ProcessCommand(UpdateThreadCommand command, UpdateThreadCommandResult& outputResult)"

However, It will work if I get the latest version and then do a get by label. What would cause this to happen?

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

Post by lbauer » Tue Jul 06, 2004 2:24 pm

There may be corruption in your local cache files.

See this post for more info:

http://support.sourcegear.com/viewtopic.php?t=1314
Linda Bauer
SourceGear
Technical Support Manager

rgkeefer
Posts: 23
Joined: Wed Feb 11, 2004 5:49 pm
Location: Tucson, AZ

baseline continually gets corrupted

Post by rgkeefer » Thu Aug 05, 2004 6:52 pm

I used the diagnostic tool and found that my baseline was corrupted. Once I deleted all _sgbak folders etc.. and re-opened vault everything worked fine. However, in a few days I do a get latest from label and have the same problem. What causes my baseline to continually get corrupted?

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Fri Aug 06, 2004 7:39 am

Do you store your _sgvault folders inside your working folders (there's an option in the Windows Forms client to store them there, which is off by default). If so, do you often perform recursive find-and-replace-in-files operations (Visual Studio has this feature)? It's possible a recursive find-and-replace would be modifying the files in the hidden folder.

Also, have you set any non-default EOL styles for these files?
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

rgkeefer
Posts: 23
Joined: Wed Feb 11, 2004 5:49 pm
Location: Tucson, AZ

Post by rgkeefer » Fri Aug 06, 2004 12:13 pm

I dont store working folder data inside working folders and I have never performed recursive find-and-replace-in-files operation. I am not sure what non-default EOL styles are so I doubt that I have changed that...

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri Aug 06, 2004 12:54 pm

It would be helpful to know how the baseline file is different from what it is supposed to be ("corrupted" in this case just means the file was changed and no longer matches the right version in Vault).

One way to check this would be to figure out what version the baseline is supposed to correspond to, and do a diff, and see how it is different.

Post Reply