diff mercurial/localrepo.py @ 1621:ee16f06174bd

Restored old behaviour for 'hg co' and 'hg co -C' for removed files.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 12 Jan 2006 21:55:19 +0100
parents 1ba0d7041ac4
children 3024cacfb2c9 5ecf05541e11
line wrap: on
line diff
--- 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]