changeset 15440 | 9ab2b3b730ee |
parent 15424 | f3b5ba25d217 |
child 15471 | f520c9616db5 |
--- a/mercurial/commands.py Mon Nov 07 03:14:53 2011 +0100 +++ b/mercurial/commands.py Mon Nov 07 03:14:54 2011 +0100 @@ -2189,7 +2189,7 @@ if ent[1] & 020000: mode = 'lnk' else: - mode = '%3o' % (ent[1] & 0777) + mode = '%3o' % (ent[1] & 0777 & ~util.umask) ui.write("%c %s %10d %s%s\n" % (ent[0], mode, ent[2], timestr, file_)) for f in repo.dirstate.copies(): ui.write(_("copy: %s -> %s\n") % (repo.dirstate.copied(f), f))