diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py index 3c24fb96900f9495dcb3097072e5ce9f2cca18a7_bWVyY3VyaWFsL2NtZHV0aWwucHk=..808926c76cacbc6795cdcf9398e6852f9eab1347_bWVyY3VyaWFsL2NtZHV0aWwucHk= 100644 --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -2521,14 +2521,6 @@ elif exact: ui.warn(msg % rel) break - else: - # Not touched in current dirstate. - - # file is unknown in parent, restore older version or ignore. - if abs not in repo.dirstate: - if exact: - ui.warn(_('file not managed: %s\n') % rel) - continue if not opts.get('dry_run'):