Show More
@@ -2189,7 +2189,7 b' def debugstate(ui, repo, nodates=None, d' | |||||
2189 | if ent[1] & 020000: |
|
2189 | if ent[1] & 020000: | |
2190 | mode = 'lnk' |
|
2190 | mode = 'lnk' | |
2191 | else: |
|
2191 | else: | |
2192 | mode = '%3o' % (ent[1] & 0777) |
|
2192 | mode = '%3o' % (ent[1] & 0777 & ~util.umask) | |
2193 | ui.write("%c %s %10d %s%s\n" % (ent[0], mode, ent[2], timestr, file_)) |
|
2193 | ui.write("%c %s %10d %s%s\n" % (ent[0], mode, ent[2], timestr, file_)) | |
2194 | for f in repo.dirstate.copies(): |
|
2194 | for f in repo.dirstate.copies(): | |
2195 | ui.write(_("copy: %s -> %s\n") % (repo.dirstate.copied(f), f)) |
|
2195 | ui.write(_("copy: %s -> %s\n") % (repo.dirstate.copied(f), f)) |
@@ -26,7 +26,7 b' testpid = win32.testpid' | |||||
26 | unlink = win32.unlink |
|
26 | unlink = win32.unlink | |
27 |
|
27 | |||
28 | nulldev = 'NUL:' |
|
28 | nulldev = 'NUL:' | |
29 | umask = 002 |
|
29 | umask = 0022 | |
30 |
|
30 | |||
31 | # wrap osutil.posixfile to provide friendlier exceptions |
|
31 | # wrap osutil.posixfile to provide friendlier exceptions | |
32 | def posixfile(name, mode='r', buffering=-1): |
|
32 | def posixfile(name, mode='r', buffering=-1): |
General Comments 0
You need to be logged in to leave comments.
Login now