revert: drop `missingmodified` set
There cannot be any elements in this set since:
dsmodified &= modified
--- a/mercurial/cmdutil.py Tue Jun 24 17:28:20 2014 +0100
+++ b/mercurial/cmdutil.py Tue Jun 24 17:36:49 2014 +0100
@@ -2461,9 +2461,6 @@
return _('forgetting %s\n')
return _('removing %s\n')
- missingmodified = dsmodified - smf
- dsmodified -= missingmodified
-
# action to be actually performed by revert
# (<list of file>, message>) tuple
actions = {'revert': ([], _('reverting %s\n')),
@@ -2478,7 +2475,6 @@
# make backup
(modified, (actions['revert'], False)),
(dsmodified, (actions['revert'], True)),
- (missingmodified, (actions['remove'], True)),
(dsadded, (actions['remove'], True)),
(removed, (actions['add'], True)),
(dsremoved, (actions['undelete'], True)),