Mercurial > hg > hg-fastimport
changeset 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 | 2fc99e3479d9 |
| children | f58882dce2d7 |
| files | hgext3rd/fastimport/hgechoprocessor.py hgext3rd/fastimport/hgimport.py |
| diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/fastimport/hgechoprocessor.py Tue Jan 19 23:00:01 2021 +0000 +++ b/hgext3rd/fastimport/hgechoprocessor.py Tue Jan 19 23:00:57 2021 +0000 @@ -20,7 +20,7 @@ for basing real processors on. See the processors package for examples. """ -from fastimport import processor +from .vendor.python_fastimport import processor class HgEchoProcessor(processor.ImportProcessor):
--- a/hgext3rd/fastimport/hgimport.py Tue Jan 19 23:00:01 2021 +0000 +++ b/hgext3rd/fastimport/hgimport.py Tue Jan 19 23:00:57 2021 +0000 @@ -29,8 +29,7 @@ from mercurial import util from mercurial.i18n import _ -from fastimport import processor, parser - +from .vendor.python_fastimport import processor, parser class fastimport_source(common.converter_source): """Interface between the fastimport processor below and Mercurial's
