diff -r 06fbd9518bc5 -r 537f55a27101 mercurial/cmdutil.py --- 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 # (, 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)),