mercurial/localrepo.py
changeset 5210 90d9ec0dc69d
parent 5205 212de429e000
child 5212 b772c0b9f0bd
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -998,7 +998,7 @@ class localrepository(repo.repository):
                 elif self.dirstate[f] in 'amn':
                     self.ui.warn(_("%s already tracked!\n") % f)
                 elif self.dirstate[f] == 'r':
-                    self.dirstate.normaldirty(f)
+                    self.dirstate.normallookup(f)
                 else:
                     self.dirstate.add(f)
         finally: