Mercurial > hg > hg-fastimport
comparison hgfastimport/__init__.py @ 56:9275d497b7ea
Use relative imports.
| author | Greg Ward <gward@intelerad.com> |
|---|---|
| date | Mon, 01 Aug 2011 17:26:50 -0400 |
| parents | b027552d517b |
| children | ae32828c68d7 |
comparison
equal
deleted
inserted
replaced
| 55:a88f0dd05e92 | 56:9275d497b7ea |
|---|---|
| 1 from mercurial import encoding | 1 from mercurial import encoding |
| 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 | 5 from fastimport import parser |
| 6 from hgfastimport.hgimport import fastimport_source | 6 from hgimport import fastimport_source |
| 7 | 7 |
| 8 def fastimport(ui, repo, *sources, **opts): | 8 def fastimport(ui, repo, *sources, **opts): |
| 9 """Convert a git fastimport dump into Mercurial changesets. | 9 """Convert a git fastimport dump into Mercurial changesets. |
| 10 | 10 |
| 11 Reads a series of SOURCE fastimport dumps and adds the resulting | 11 Reads a series of SOURCE fastimport dumps and adds the resulting |
