mercurial/debugcommands.py
changeset 35942 2da4144e6716
parent 35928 c8e2d6ed1f9e
child 35969 5f029d03cf71
equal deleted inserted replaced
35941:f0827211eb1f 35942:2da4144e6716
  2205     if opts['show_set'] or (opts['show_set'] is None and ui.verbose):
  2205     if opts['show_set'] or (opts['show_set'] is None and ui.verbose):
  2206         ui.write(("* set:\n"), smartset.prettyformat(revs), "\n")
  2206         ui.write(("* set:\n"), smartset.prettyformat(revs), "\n")
  2207     if not opts['show_revs']:
  2207     if not opts['show_revs']:
  2208         return
  2208         return
  2209     for c in revs:
  2209     for c in revs:
  2210         ui.write("%s\n" % c)
  2210         ui.write("%d\n" % c)
  2211 
  2211 
  2212 @command('debugsetparents', [], _('REV1 [REV2]'))
  2212 @command('debugsetparents', [], _('REV1 [REV2]'))
  2213 def debugsetparents(ui, repo, rev1, rev2=None):
  2213 def debugsetparents(ui, repo, rev1, rev2=None):
  2214     """manually set the parents of the current working directory
  2214     """manually set the parents of the current working directory
  2215 
  2215