diff -r 49dcac6ede26 -r 220211b88656 mercurial/dirstate.py --- a/mercurial/dirstate.py Mon Jun 18 13:24:33 2007 -0500 +++ b/mercurial/dirstate.py Mon Jun 18 13:24:34 2007 -0500 @@ -319,14 +319,8 @@ self.ui.warn(_("not in dirstate: %s!\n") % f) pass - def clear(self): - self.map = {} - self.copymap = {} - self.dirs = None - self.markdirty() - def rebuild(self, parent, files): - self.clear() + self.reload() for f in files: if files.execf(f): self.map[f] = ('n', 0777, -1, 0)