equal
deleted
inserted
replaced
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 |