changeset 4904 | 6fd953d5faea |
parent 4873 | 28b23b9073a8 |
child 4906 | 30847b8af7ca |
--- a/hgext/convert/hg.py Sat Jul 21 16:02:09 2007 -0500 +++ b/hgext/convert/hg.py Sat Jul 21 16:02:09 2007 -0500 @@ -27,7 +27,7 @@ def putfile(self, f, e, data): self.repo.wwrite(f, data, e) if self.repo.dirstate.state(f) == '?': - self.repo.dirstate.update([f], "a") + self.repo.dirstate.add(f) def copyfile(self, source, dest): self.repo.copy(source, dest)