diff -r 547ede0123a2 -r 2ff37e3bf780 mercurial/localrepo.py --- a/mercurial/localrepo.py Thu Apr 13 13:46:56 2006 -0700 +++ b/mercurial/localrepo.py Fri Apr 14 00:41:50 2006 +0200 @@ -1573,8 +1573,9 @@ self.ui.debug(_(" remote %s is newer, get\n") % f) get[f] = m2[f] s = 1 - elif f in umap: + elif f in umap or f in added: # this unknown file is the same as the checkout + # we need to reset the dirstate if the file was added get[f] = m2[f] if not s and mfw[f] != mf2[f]: