mercurial/commands.py
changeset 15440 9ab2b3b730ee
parent 15424 f3b5ba25d217
child 15471 f520c9616db5
equal deleted inserted replaced
15439:01611e7c36ff 15440:9ab2b3b730ee
  2187                 timestr = time.strftime("%Y-%m-%d %H:%M:%S ",
  2187                 timestr = time.strftime("%Y-%m-%d %H:%M:%S ",
  2188                                         time.localtime(ent[3]))
  2188                                         time.localtime(ent[3]))
  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))
  2196 
  2196 
  2197 @command('debugsub',
  2197 @command('debugsub',