Mercurial > hg > hg-fastimport
comparison hgext3rd/fastimport/hgechoprocessor.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 |
|---|---|
| 18 | 18 |
| 19 This module provides core processing functionality including an abstract class | 19 This module provides core processing functionality including an abstract class |
| 20 for basing real processors on. See the processors package for examples. | 20 for basing real processors on. See the processors package for examples. |
| 21 """ | 21 """ |
| 22 | 22 |
| 23 from fastimport import processor | 23 from .vendor.python_fastimport import processor |
| 24 | 24 |
| 25 class HgEchoProcessor(processor.ImportProcessor): | 25 class HgEchoProcessor(processor.ImportProcessor): |
| 26 | 26 |
| 27 def __init__(self, ui, repo, **opts): | 27 def __init__(self, ui, repo, **opts): |
| 28 self.ui = ui | 28 self.ui = ui |
