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