Copying vs of cloning?

Micah Cowan micah at cowan.name
Tue Oct 2 18:11:52 CDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Matt Mackall wrote:
>> Your assumption would be correct only if you could demonstrate that two
>> newly cloned repositories do _not_ differ in their .hg/dirstate files. I
>> tried, and they do.
> 
> Nonetheless, a copy _is_ a valid repository, provided the copy is made while
> no one is adding to the repo. In which case you'll get a completely
> working repository that will make verify unhappy. The dirstate is
> mostly a cache and will correct itself.

Right... that was the point I was trying to make, in demonstrating that
even two clones will differ in their dirstate files (and that therefore,
a difference between dirstate files when one is a copy doesn't mean
anything, in and of itself).

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHAtA37M8hyUobTrERCF1VAJ0bv5yU78fZe9m1yXdy6bitCXQpJACfXE0c
hPNu8EiqwE8IfGfSA6Ecox4=
=PfpH
-----END PGP SIGNATURE-----


More information about the Mercurial mailing list