equal
deleted
inserted
replaced
2556 ui.note(revset.prettyformat(tree), "\n") |
2556 ui.note(revset.prettyformat(tree), "\n") |
2557 newtree = revset.findaliases(ui, tree) |
2557 newtree = revset.findaliases(ui, tree) |
2558 if newtree != tree: |
2558 if newtree != tree: |
2559 ui.note(revset.prettyformat(newtree), "\n") |
2559 ui.note(revset.prettyformat(newtree), "\n") |
2560 func = revset.match(ui, expr) |
2560 func = revset.match(ui, expr) |
2561 for c in func(repo, range(len(repo))): |
2561 for c in func(repo, revset.baseset(range(len(repo)))): |
2562 ui.write("%s\n" % c) |
2562 ui.write("%s\n" % c) |
2563 |
2563 |
2564 @command('debugsetparents', [], _('REV1 [REV2]')) |
2564 @command('debugsetparents', [], _('REV1 [REV2]')) |
2565 def debugsetparents(ui, repo, rev1, rev2=None): |
2565 def debugsetparents(ui, repo, rev1, rev2=None): |
2566 """manually set the parents of the current working directory |
2566 """manually set the parents of the current working directory |