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