mercurial/commands.py
changeset 39042 9126a4034621
parent 39041 2525c4943c09
child 39043 5797b0bbdd1d
equal deleted inserted replaced
39041:2525c4943c09 39042:9126a4034621
  2623     def display(fm, fn, ctx, pstates, states):
  2623     def display(fm, fn, ctx, pstates, states):
  2624         rev = scmutil.intrev(ctx)
  2624         rev = scmutil.intrev(ctx)
  2625         if fm.isplain():
  2625         if fm.isplain():
  2626             formatuser = ui.shortuser
  2626             formatuser = ui.shortuser
  2627         else:
  2627         else:
  2628             formatuser = str
  2628             formatuser = pycompat.bytestr
  2629         if ui.quiet:
  2629         if ui.quiet:
  2630             datefmt = '%Y-%m-%d'
  2630             datefmt = '%Y-%m-%d'
  2631         else:
  2631         else:
  2632             datefmt = '%a %b %d %H:%M:%S %Y %1%2'
  2632             datefmt = '%a %b %d %H:%M:%S %Y %1%2'
  2633         found = False
  2633         found = False