Mercurial > hg > hg-fastimport
comparison hgext3rd/fastimport/vendor/python_fastimport/processor.py @ 88:2fc99e3479d9
python-fastimport: Import our own modules using relative pathing
This allows python-fastimport to be embedded as vendor code within
other modules.
This patch has been accepted upstream.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 19 Jan 2021 23:00:01 +0000 |
| parents | 28704a2a7461 |
| children |
comparison
equal
deleted
inserted
replaced
| 87:51664f5abc3a | 88:2fc99e3479d9 |
|---|---|
| 30 processors package for examples. | 30 processors package for examples. |
| 31 """ | 31 """ |
| 32 import sys | 32 import sys |
| 33 import time | 33 import time |
| 34 | 34 |
| 35 from fastimport import errors | 35 from . import errors |
| 36 from fastimport.helpers import newobject as object | 36 from .helpers import newobject as object |
| 37 | 37 |
| 38 | 38 |
| 39 class ImportProcessor(object): | 39 class ImportProcessor(object): |
| 40 """Base class for fast-import stream processors. | 40 """Base class for fast-import stream processors. |
| 41 | 41 |
