Mercurial > hg > hg-fastimport
comparison hgext3rd/fastimport/vendor/python_fastimport/processors/query_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 |
|---|---|
| 15 | 15 |
| 16 """Import processor that queries the input (and doesn't import).""" | 16 """Import processor that queries the input (and doesn't import).""" |
| 17 from __future__ import print_function | 17 from __future__ import print_function |
| 18 | 18 |
| 19 | 19 |
| 20 from fastimport import ( | 20 from .. import ( |
| 21 commands, | 21 commands, |
| 22 processor, | 22 processor, |
| 23 ) | 23 ) |
| 24 | 24 |
| 25 | 25 |
