revert: drop more dead code
authorPierre-Yves David <pierre-yves.david@fb.com>
Tue, 24 Jun 2014 23:55:43 +0100
changeset 22235 41a07d4f909f
parent 22234 fe9fc29ac2d0
child 22236 3c24fb96900f
revert: drop more dead code Now that we detect all clean files, we do not need this clause anymore.
mercurial/cmdutil.py
--- 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)