Mercurial > hg
diff hgext/convert/hg.py @ 4765:b6a1f2c46c6c
convert extension: Add SVN converter
author | Daniel Holth <dholth@fastmail.fm> |
---|---|
date | Sun, 01 Jul 2007 23:56:11 +0200 |
parents | 8e9d3faec270 |
children | 28b23b9073a8 |
line wrap: on
line diff
--- a/hgext/convert/hg.py Sun Jul 01 17:15:54 2007 +0200 +++ b/hgext/convert/hg.py Sun Jul 01 23:56:11 2007 +0200 @@ -29,6 +29,9 @@ if self.repo.dirstate.state(f) == '?': self.repo.dirstate.update([f], "a") + def copyfile(self, source, dest): + self.repo.copy(source, dest) + def delfile(self, f): try: os.unlink(self.repo.wjoin(f))