diff 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
line wrap: on
line diff
--- 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