diff -r 6a1d2dd96b8e -r 212de429e000 mercurial/localrepo.py --- a/mercurial/localrepo.py Tue Aug 21 02:02:08 2007 +0200 +++ b/mercurial/localrepo.py Tue Aug 21 02:13:32 2007 +0200 @@ -997,6 +997,8 @@ "supported currently\n") % f) elif self.dirstate[f] in 'amn': self.ui.warn(_("%s already tracked!\n") % f) + elif self.dirstate[f] == 'r': + self.dirstate.normaldirty(f) else: self.dirstate.add(f) finally: