mercurial/store.py
changeset 25658 e93036747902
parent 25091 b5052fc73300
child 25660 328739ea70c3
--- a/mercurial/store.py	Tue Jun 23 14:28:15 2015 -0700
+++ b/mercurial/store.py	Tue Jun 23 22:30:33 2015 -0700
@@ -274,7 +274,7 @@
         # files in .hg/ will be created using this mode
         mode = vfs.stat().st_mode
             # avoid some useless chmods
-        if (0777 & ~util.umask) == (0777 & mode):
+        if (0o777 & ~util.umask) == (0o777 & mode):
             mode = None
     except OSError:
         mode = None