Mercurial > hg
diff hgext/convert/hg.py @ 4904:6fd953d5faea
dirstate: break update into separate functions
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 21 Jul 2007 16:02:09 -0500 |
parents | 28b23b9073a8 |
children | 30847b8af7ca |
line wrap: on
line diff
--- 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)