Mercurial > hg > hg-fastimport
comparison hgext3rd/fastimport/vendor/python_fastimport/parser.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 |
|---|---|
| 162 import collections | 162 import collections |
| 163 import re | 163 import re |
| 164 import sys | 164 import sys |
| 165 import codecs | 165 import codecs |
| 166 | 166 |
| 167 from fastimport import ( | 167 from . import ( |
| 168 commands, | 168 commands, |
| 169 dates, | 169 dates, |
| 170 errors, | 170 errors, |
| 171 ) | 171 ) |
| 172 from fastimport.helpers import ( | 172 from .helpers import ( |
| 173 newobject as object, | 173 newobject as object, |
| 174 utf8_bytes_string, | 174 utf8_bytes_string, |
| 175 ) | 175 ) |
| 176 | 176 |
| 177 | 177 |
