After weeks (ok, actually months) of leaving some files checked out, for some reason one day when I logged into Vault, my Pending Change Set was empty! The status of the files that I know I had checked out, appears as "renegade", where previously it said "edited". Since I know my local copies are the latest, my main concern is that I guess my checkout comments are now lost, so I don't know what all I changed (or intended to change). This has happened once before, but after a week or so, it "magically" fixed itself (restoring all of my comments & pending change set, etc.).
My question is, "Where in my local cache are all my comments stored, or are they stored on the server?" More importantly, how can I get back in sync with the server & restore all my pending change set along with the comments I had previously entered?
Vault Client Version 3.0.7 (2863).
Pending Change Set & Comments lost
Moderator: SourceGear
Re: Pending Change Set & Comments lost
In Vault versions 3.07 and earlier, cache files are stored here:
%APPDATA%\SourceGear\Vault_1\Client\{repository-guid}\{vaultuser}\
This includes items in the pending change set.
Details here:
http://support.sourcegear.com/viewtopic.php?t=6
Not sure what happened to your cache.
Another possiblity -- could the Admin have undone the checkouts? The Admin can undo checkouts with the Vault Admin Tool.
%APPDATA%\SourceGear\Vault_1\Client\{repository-guid}\{vaultuser}\
This includes items in the pending change set.
Details here:
http://support.sourcegear.com/viewtopic.php?t=6
Not sure what happened to your cache.
Another possiblity -- could the Admin have undone the checkouts? The Admin can undo checkouts with the Vault Admin Tool.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Pending Change Set & Comments lost
I found the file called "CacheMember_ChangeSetComment" and the file "CacheMember_CheckOutList" and "CacheMember_ChangeSetItems". What format are these files in? They don't look like plain ASCII text. The "CacheMember_ChangeSetComment" appears to be basically empty, so attempting to recover my comments may be a lost cause, but if it's due to my cache getting corrupted, I wonder why it "fixed itself" the last time this happened.
The Admin claims to have not changed anything other than moving some unrelated files on the server to another server (files unrelated to Vault). In fact, the last time this happened, the Admin also claimed not to have changed anything other than rebooting the server after I reported the problem, but I don't think that was what "fixed" it the last time.
Is there a corresponding "___ChangeSetComment" file or some kind of log on the server which would need to match my local cache file for it to work properly?
The Admin claims to have not changed anything other than moving some unrelated files on the server to another server (files unrelated to Vault). In fact, the last time this happened, the Admin also claimed not to have changed anything other than rebooting the server after I reported the problem, but I don't think that was what "fixed" it the last time.
Is there a corresponding "___ChangeSetComment" file or some kind of log on the server which would need to match my local cache file for it to work properly?
Re: Pending Change Set & Comments lost
The cache files are in a proprietary format.
Comments on checked out files are stored in %APPDATA%\SourceGear\Vault_1\Client\{repository-guid}\{vaultuser}\_sgvault\{baselinefoldernumber}, in the "state" file. The other files in that folder are baselines of files in your working folder. If you still have this, you may be able to retrieve your comment.
However if you have files that were checked out before, but now are Renegade, then usually from an UndoCheckout operation at some point. Checkout info comes from the Server, so even if the cache is gone, files would still be checked out.
Another possibilty:
Did you change development style from CVS mode to VSS mode? This might make your files go Renegade, plus remove the comment from the Pending changes. If you switch back to CVS mode they might appear again.
Comments on checked out files are stored in %APPDATA%\SourceGear\Vault_1\Client\{repository-guid}\{vaultuser}\_sgvault\{baselinefoldernumber}, in the "state" file. The other files in that folder are baselines of files in your working folder. If you still have this, you may be able to retrieve your comment.
However if you have files that were checked out before, but now are Renegade, then usually from an UndoCheckout operation at some point. Checkout info comes from the Server, so even if the cache is gone, files would still be checked out.
Another possibilty:
Did you change development style from CVS mode to VSS mode? This might make your files go Renegade, plus remove the comment from the Pending changes. If you switch back to CVS mode they might appear again.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager