changeset 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 6c61646fee5e
children 5e9168401a68
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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]