mercurial/store.py
changeset 7890 e710f0f592b2
parent 7515 ee5aba886108
child 8209 a1a5a57efe90
--- a/mercurial/store.py	Sat Mar 14 10:46:48 2009 -0400
+++ b/mercurial/store.py	Thu Mar 26 13:54:44 2009 -0500
@@ -136,7 +136,7 @@
         # files in .hg/ will be created using this mode
         mode = os.stat(path).st_mode
             # avoid some useless chmods
-        if (0777 & ~util._umask) == (0777 & mode):
+        if (0777 & ~util.umask) == (0777 & mode):
             mode = None
     except OSError:
         mode = None