bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs co understands CVSROOT not understood by cvs up


From: Derek Robert Price
Subject: Re: cvs co understands CVSROOT not understood by cvs up
Date: Fri, 24 Sep 2004 16:20:22 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Larry Jones wrote:

> Derek Robert Price writes:
>
>> change also caches the parsed root when possible.
>
>
> Is that going to cause a problem when you recurse into a directory
> that was checkout out from a different repository than its parent?


No.  I cached it in the list of visited roots.  Now, the ->data
portion of the hash node (which used to be 0 or (void *)1 depending on
whether the root had been "visited" yet) always holds the cached root
until it is used, at which point the ->data node is set to NULL.
Later code now uses the NULL value to determine if the root has been
visited.

Cheers,

Derek

- --
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBVIGFLD1OTBfyMaQRAuI+AKCE58cmFjtnmWAWanf65hxEh0nLUwCfbdzu
VHr4bZ/0iLCZ3UdJ+z97KTM=
=kThQ
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]