Mercurial > hg > hg-fastimport
comparison hgfastimport/__init__.py @ 62:76bd0ea8add3
Update to cope with API differences.
| author | Jelmer Vernooij <jelmer@samba.org> |
|---|---|
| date | Thu, 10 Nov 2011 23:09:10 +0100 |
| parents | b027552d517b |
| children | ae32828c68d7 |
comparison
equal
deleted
inserted
replaced
| 61:a1558739bd5e | 62:76bd0ea8add3 |
|---|---|
| 1 from mercurial import encoding | 1 from mercurial import encoding, util |
| 2 from mercurial.i18n import _ | 2 from mercurial.i18n import _ |
| 3 from hgext.convert import convcmd, hg | 3 from hgext.convert import convcmd, hg |
| 4 | 4 |
| 5 from fastimport import parser | |
| 6 from hgfastimport.hgimport import fastimport_source | 5 from hgfastimport.hgimport import fastimport_source |
| 7 | 6 |
| 8 def fastimport(ui, repo, *sources, **opts): | 7 def fastimport(ui, repo, *sources, **opts): |
| 9 """Convert a git fastimport dump into Mercurial changesets. | 8 """Convert a git fastimport dump into Mercurial changesets. |
| 10 | 9 |
