Mercurial > hg > mercurial-crew-with-dirclash
diff hgext/convert/hg.py @ 4758: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 +++ b/hgext/convert/hg.py @@ -29,6 +29,9 @@ class convert_mercurial(converter_sink): 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))