Mercurial > hg > hg-fastimport
comparison hgext3rd/fastimport/hgimport.py @ 89:e6602cc471d5
Use vendor/python_fastimport rather than depending on the library
This is now quite important as upstream dropped support for Python-2
which some hg-fastimport users might still need.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 19 Jan 2021 23:00:57 +0000 |
| parents | 59a9e4d0aa72 |
| children | efe678b023d3 |
comparison
equal
deleted
inserted
replaced
| 88:2fc99e3479d9 | 89:e6602cc471d5 |
|---|---|
| 27 | 27 |
| 28 from hgext.convert import common, hg as converthg | 28 from hgext.convert import common, hg as converthg |
| 29 from mercurial import util | 29 from mercurial import util |
| 30 from mercurial.i18n import _ | 30 from mercurial.i18n import _ |
| 31 | 31 |
| 32 from fastimport import processor, parser | 32 from .vendor.python_fastimport import processor, parser |
| 33 | |
| 34 | 33 |
| 35 class fastimport_source(common.converter_source): | 34 class fastimport_source(common.converter_source): |
| 36 """Interface between the fastimport processor below and Mercurial's | 35 """Interface between the fastimport processor below and Mercurial's |
| 37 normal conversion infrastructure. | 36 normal conversion infrastructure. |
| 38 """ | 37 """ |
