changeset 22235:41a07d4f909f

revert: drop more dead code Now that we detect all clean files, we do not need this clause anymore.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 24 Jun 2014 23:55:43 +0100
parents fe9fc29ac2d0
children 3c24fb96900f
files mercurial/cmdutil.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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)