# HG changeset patch # User Pierre-Yves David # Date 1403650543 -3600 # Node ID 41a07d4f909f33c2407e568edaf99e3731a11143 # Parent fe9fc29ac2d0bf4cb110494cf3658fc4a6db002d revert: drop more dead code Now that we detect all clean files, we do not need this clause anymore. diff -r fe9fc29ac2d0 -r 41a07d4f909f 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)