verify: don't die from new permission bits
authormpm@selenic.com
Wed, 08 Jun 2005 14:44:32 -0800
changeset 284 d7c2efd0b541
parent 283 18c9566ad717
child 285 5a1e6d27f399
verify: don't die from new permission bits -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 verify: don't die from new permission bits manifest hash: f8799eb3574dab3ee1523ae61b1a513eff1a7044 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCp3TQywK+sNU5EO8RAkiSAKCd0wEciYzcZYmeMic+9QLVtbf9SACginpE 1pjBr5SyqQu66rh+zWPgZqQ= =cgDM -----END PGP SIGNATURE-----
mercurial/hg.py
--- a/mercurial/hg.py	Wed Jun 08 13:06:46 2005 -0800
+++ b/mercurial/hg.py	Wed Jun 08 14:44:32 2005 -0800
@@ -1096,7 +1096,7 @@
 
             ff = [ l.split('\0') for l in delta.splitlines() ]
             for f, fn in ff:
-                filenodes.setdefault(f, {})[bin(fn)] = 1
+                filenodes.setdefault(f, {})[bin(fn[:40])] = 1
 
         self.ui.status("crosschecking files in changesets and manifests\n")
         for f in filenodes: