changeset 22237:808926c76cac

revert: drop dead code for untracked files Untracked files are handled through status now.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 25 Jun 2014 00:02:17 +0100
parents 3c24fb96900f
children c894fdff56d1
files mercurial/cmdutil.py
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Wed Jun 25 00:01:30 2014 +0100
+++ b/mercurial/cmdutil.py	Wed Jun 25 00:02:17 2014 +0100
@@ -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'):