How to refresh 'status'

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

Moderator: SourceGear

Post Reply
tommyg
Posts: 23
Joined: Thu Aug 16, 2007 11:31 pm

How to refresh 'status'

Post by tommyg » Thu Apr 07, 2011 7:41 pm

Does anyone know how to relfresh the 'status' of items, we move between number of computers for development, and each time the files come up with a status of 'unknown'.

We can manually go and look for differences, and then work out whether the difference is in the repository or the local files, but it would be great if there was some way for it to update to show whether the files are correct or not

Any thoughts greatly appreciated

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

Re: How to refresh 'status'

Post by lbauer » Fri Apr 08, 2011 8:15 am

There isn't an easy way to refresh. Vault Client determines the file status in the working folder by comparing the working folder file with a baseline. That baseline is generally created when you first do a GET. Baselines are stored in an _sgvault folder in the logged-in Windows user's local profile,

C:\Users\username\AppData\Local\Sourcegear\Vault_1\Client\<repository guid>\<vaultusername>
or
C:\Documents and Settings\<userprofile>\Local Settings\Application Data\SourceGear\Vault_1\Client\<repository guid>\<vaultusername>

Unknown files occur when the Vault working directory is set to a directory with preexisting files, or if there is no baseline file for the loggedin Windows user. If those files have the same name as files in Vault, they are treated as Unknown. Doing a get latest will resolve the unknown file to Blank, Needs Merge or Edited/Renegade.

You could try storing baselines in the working folder (provided all users are using the same working folder). This setting is in the Vault Client under Tools->Options->Local Files->Cache location->Store Working Folder State/Baseline Files. Each user should set this on each machine they're using the Vault Client on.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply