revert: drop more dead code
Now that we detect all clean files, we do not need this clause anymore.
--- a/mercurial/cmdutil.py Sat Aug 02 13:07:01 2014 -0700
+++ b/mercurial/cmdutil.py Tue Jun 24 23:55:43 2014 +0100
@@ -2525,11 +2525,6 @@
ui.warn(_('file not managed: %s\n') % rel)
continue
- # parent is target, no changes mean no changes
- if node == parent:
- if exact:
- ui.warn(_('no changes needed to %s\n') % rel)
- continue
if not opts.get('dry_run'):
_performrevert(repo, parents, ctx, actions)