working folder storage location

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

Moderator: SourceGear

Post Reply
lyle.dodge
Posts: 4
Joined: Fri Sep 17, 2004 12:55 pm

working folder storage location

Post by lyle.dodge » Thu Oct 14, 2004 8:27 am

Where is the working folder's location actually stored using Vault? i.e. when i set the working folder for $/Foo to c:\Foo, then uninstall Vault Client, then reboot my computer, and install Vault Client, the working folder is still set. Before reboot I removed c:\Foo. Is the list of working folders kept in the vault database, if so, which tables? Or is it being kept in isolated storage by the Vault Client?

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

Post by sterwill » Thu Oct 14, 2004 9:00 am

Vault doesn't use isolated storage for any of its settings any more (we had too many problems with it). The file you're looking for is called CacheMember_WorkingFolderAssignments, and its exact location depends on a few things (your Vault username, repository GUID, etc.). Read this KB article for details finding this file.

If you're uninstalling Vault (to be re-installed later) and don't wish to preserve any local configuration information (since you deleted your working folders), you can safely delete the entire %APPDATA%\SourceGear\Vault_1 directory.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

lyle.dodge
Posts: 4
Joined: Fri Sep 17, 2004 12:55 pm

Post by lyle.dodge » Fri Oct 15, 2004 7:32 am

What normal operations trigger this folder to get cleared out? I just checked the size of that folder on my computer, and it's 952MB. That doesn't bother me, but there are some older laptops that are being used by other team members. Is there a cleanup option in the GUI clients for clearing out this information? That way if they're in the office, they can get latest and clear out this data before they take off.

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

Post by sterwill » Fri Oct 15, 2004 9:27 am

Currently there is no feature to do the cleaning. It was always intended to be included with an early version of Vault, but other features took priority, and the work-around for setting new working folders (although not automatic, and not simple), has kept people going thus far.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

lyle.dodge
Posts: 4
Joined: Fri Sep 17, 2004 12:55 pm

Unset working folders code

Post by lyle.dodge » Mon Oct 18, 2004 1:20 pm

I wrote this up to deal with the unsetting of working folders. It's a console application which will prompt you for host, repository, user, password, then call the Vault Client to UNSET the working folder for all repository folders except $.

I put this in an installer so all of our devs can use it from time to time, to make sure that nothing is mucking up their working folder locations (bad visual studio .net...)
Attachments
VaultUnsetWorkingFolders.cs.txt
Unset all working folders but $
(3.53 KiB) Downloaded 653 times

Post Reply