mercurial/cmdutil.py
changeset 22189 cde6b489365c
parent 22188 0ad619c5e1a4
child 22190 55308ab8117c
--- a/mercurial/cmdutil.py	Tue Jun 24 16:53:22 2014 +0100
+++ b/mercurial/cmdutil.py	Tue Jun 24 16:57:16 2014 +0100
@@ -2495,9 +2495,7 @@
 
                 # file is unknown in parent, restore older version or ignore.
                 if abs not in repo.dirstate:
-                    if mfentry:
-                        handle(actions['add'], True)
-                    elif exact:
+                    if exact:
                         ui.warn(_('file not managed: %s\n') % rel)
                     continue