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
+++ b/mercurial/localrepo.py
@@ -1432,7 +1432,7 @@ class localrepository(object):
         if moddirstate:
             wlock = self.wlock()
 
-        for f in deleted:
+        for f in deleted + removed:
             if f in mw:
                 del mw[f]