Show More
@@ -2469,7 +2469,9 b' def revert(ui, repo, ctx, parents, *pats' | |||
|
2469 | 2469 | actions = {'revert': ([], _('reverting %s\n')), |
|
2470 | 2470 | 'add': ([], _('adding %s\n')), |
|
2471 | 2471 | 'remove': ([], removeforget), |
|
2472 |
'undelete': ([], _('undeleting %s\n')) |
|
|
2472 | 'undelete': ([], _('undeleting %s\n')), | |
|
2473 | 'noop': None, | |
|
2474 | } | |
|
2473 | 2475 | |
|
2474 | 2476 | |
|
2475 | 2477 | # should we do a backup? |
@@ -2486,7 +2488,7 b' def revert(ui, repo, ctx, parents, *pats' | |||
|
2486 | 2488 | (dsadded, actions['remove'], backup), |
|
2487 | 2489 | (removed, actions['add'], backup), |
|
2488 | 2490 | (dsremoved, actions['undelete'], backup), |
|
2489 |
(clean, |
|
|
2491 | (clean, actions['noop'], discard), | |
|
2490 | 2492 | ) |
|
2491 | 2493 | |
|
2492 | 2494 | for abs, (rel, exact) in sorted(names.items()): |
General Comments 0
You need to be logged in to leave comments.
Login now