Show More
@@ -2461,9 +2461,6 b' def revert(ui, repo, ctx, parents, *pats' | |||
|
2461 | 2461 | return _('forgetting %s\n') |
|
2462 | 2462 | return _('removing %s\n') |
|
2463 | 2463 | |
|
2464 | missingmodified = dsmodified - smf | |
|
2465 | dsmodified -= missingmodified | |
|
2466 | ||
|
2467 | 2464 | # action to be actually performed by revert |
|
2468 | 2465 | # (<list of file>, message>) tuple |
|
2469 | 2466 | actions = {'revert': ([], _('reverting %s\n')), |
@@ -2478,7 +2475,6 b' def revert(ui, repo, ctx, parents, *pats' | |||
|
2478 | 2475 | # make backup |
|
2479 | 2476 | (modified, (actions['revert'], False)), |
|
2480 | 2477 | (dsmodified, (actions['revert'], True)), |
|
2481 | (missingmodified, (actions['remove'], True)), | |
|
2482 | 2478 | (dsadded, (actions['remove'], True)), |
|
2483 | 2479 | (removed, (actions['add'], True)), |
|
2484 | 2480 | (dsremoved, (actions['undelete'], True)), |
General Comments 0
You need to be logged in to leave comments.
Login now