# HG changeset patch # User Thomas Arendsen Hein # Date 2006-01-12 20:55:19 # Node ID ee16f06174bd5fa0f17c99dccdc8b3f5f9476ee3 # Parent 6c61646fee5eabe411895964cbfc25cfce25677c Restored old behaviour for 'hg co' and 'hg co -C' for removed files. diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- 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]