mercurial/cmdutil.py
changeset 22235 41a07d4f909f
parent 22234 fe9fc29ac2d0
child 22236 3c24fb96900f
--- 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)