mercurial/cmdutil.py
changeset 22210 537f55a27101
parent 22209 06fbd9518bc5
child 22211 76fa261b5fe3
--- 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)),