comparison mercurial/hg.py @ 279:5edd24db6dc7

permissions merge: remove a debugging print -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 permissions merge: remove a debugging print manifest hash: 488144aeb1544ecc377ab41983e6cabd4a8b1f5f -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCpz4KywK+sNU5EO8RAi+YAKCBmiiDkhe2ygCv4LF21RS3/iH0VgCeLwd5 c/yhTklZ9lnLWXy5dmuPNZk= =UtDf -----END PGP SIGNATURE-----
author mpm@selenic.com
date Wed, 08 Jun 2005 10:50:50 -0800
parents 79279550c8ff
children d7c2efd0b541
comparison
equal deleted inserted replaced
278:777e388c06d6 279:5edd24db6dc7
919 self.ui.debug(" updating permissions for %s\n" % f) 919 self.ui.debug(" updating permissions for %s\n" % f)
920 set_exec(self.wjoin(f), mf2[f]) 920 set_exec(self.wjoin(f), mf2[f])
921 else: 921 else:
922 a, b, c = mfa.get(f, 0), mfw[f], mf2[f] 922 a, b, c = mfa.get(f, 0), mfw[f], mf2[f]
923 mode = ((a^b) | (a^c)) ^ a 923 mode = ((a^b) | (a^c)) ^ a
924 print a, b, c, mode
925 if mode != b: 924 if mode != b:
926 self.ui.debug(" updating permissions for %s\n" % f) 925 self.ui.debug(" updating permissions for %s\n" % f)
927 set_exec(self.wjoin(f), mode) 926 set_exec(self.wjoin(f), mode)
928 927
929 del m2[f] 928 del m2[f]