# HG changeset patch # User Roy Marples # Date 1611097257 0 # Node ID e6602cc471d5e2eb3a9d3174f2ae7ddf6254c188 # Parent 2fc99e3479d9ec7222e80db1d69ec16071fc1ab3 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. diff -r 2fc99e3479d9 -r e6602cc471d5 hgext3rd/fastimport/hgechoprocessor.py --- 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): diff -r 2fc99e3479d9 -r e6602cc471d5 hgext3rd/fastimport/hgimport.py --- 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