Restored old behaviour for 'hg co' and 'hg co -C' for removed files.
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 12 Jan 2006 21:55:19 +0100
changeset 1621 ee16f06174bd
parent 1620 6c61646fee5e
child 1622 5e9168401a68
Restored old behaviour for 'hg co' and 'hg co -C' for removed files.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Thu Jan 12 21:02:38 2006 +0100
+++ b/mercurial/localrepo.py	Thu Jan 12 21:55:19 2006 +0100
@@ -1432,7 +1432,7 @@
         if moddirstate:
             wlock = self.wlock()
 
-        for f in deleted:
+        for f in deleted + removed:
             if f in mw:
                 del mw[f]