mercurial/commands.py
changeset 31173 052e4f1ffce9
parent 31166 fad5e299cfc7
child 31200 426b3d1e82d0
equal deleted inserted replaced
31172:16272d8c24f6 31173:052e4f1ffce9
  1256         rev = ctx.rev()
  1256         rev = ctx.rev()
  1257         padsize = max(31 - len(str(rev)) - encoding.colwidth(tag), 0)
  1257         padsize = max(31 - len(str(rev)) - encoding.colwidth(tag), 0)
  1258         fmt = ' ' * padsize + ' %d:%s'
  1258         fmt = ' ' * padsize + ' %d:%s'
  1259         fm.condwrite(not ui.quiet, 'rev node', fmt, rev, hexfunc(ctx.node()),
  1259         fm.condwrite(not ui.quiet, 'rev node', fmt, rev, hexfunc(ctx.node()),
  1260                      label='log.changeset changeset.%s' % ctx.phasestr())
  1260                      label='log.changeset changeset.%s' % ctx.phasestr())
       
  1261         fm.context(ctx=ctx)
  1261         fm.data(active=isactive, closed=not isopen, current=current)
  1262         fm.data(active=isactive, closed=not isopen, current=current)
  1262         if not ui.quiet:
  1263         if not ui.quiet:
  1263             fm.plain(notice)
  1264             fm.plain(notice)
  1264         fm.plain('\n')
  1265         fm.plain('\n')
  1265     fm.end()
  1266     fm.end()