RE: Retrieving Reposity Structure....

"Monte Kalisch" <[email protected]>
Newsgroups gmane.comp.version-control.sourcegear-vault.user
Message-ID <E486E6988349414986EBD7C0DACEBC0B5DF45B@rushmore.connectionsacademy.org>
One issue I have found related to this is there appears to be no way to
reconcile what you actually have on disk from what's in the Vault if you
lose this cache.  F5 doesn't actually *CHECK* or update this
information; it seems to only yank out what the Vault server last knew
you did, not compare what you actually have.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Shaw
Terwilliger
Sent: Tuesday, January 27, 2004 10:51 AM
To: Brandon Casci
Cc: [email protected]
Subject: Re: [vault-list] Retrieving Reposity Structure....


Brandon Casci wrote:
> Since then it appears that Vault needs to retrive the ENTIRE
repository
> structure at the start of each new session.
> 
> Has anyone else had this problem or am I imagning this?

Unlike most of the other cache files, this one can be really large, and
Vault only writes the repository structure file under certain
conditions. 
When it retrieves the structure on login, it checks to see if there's a 
structure already on disk.  If there is, the file isn't written at this 
time.  If there's no file on disk, the structure is written then.

Later, on client exit, the file on disk is checked (again).  If the 
repository structure in memory is newer than the one on disk (the header
of the disk file is read and compared), the disk file is overwritten.

So if the Vault client is exiting abnormally (killed process) or perhaps
you're using the IDE client and it's exiting abnormally (maybe Visual
Studio isn't letting us logout?), the file may not be written on exit,
but should have been written when it was first retrieved.  You can open 
the directory with the cache member files and watch for their creation 
when Vault runs.  If they're never created, I'll try to track down 
other possibilities.

-- 
Shaw Terwilliger <[email protected]>
SourceGear LLC
_______________________________________________
vault-list mailing list
[email protected]
http://lists.sourcegear.com/cgi-bin/mailman/listinfo/vault-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.