comparison hgext3rd/fastimport/vendor/python_fastimport/commands.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
22 22
23 import re 23 import re
24 import stat 24 import stat
25 import sys 25 import sys
26 26
27 from fastimport.helpers import ( 27 from .helpers import (
28 newobject as object, 28 newobject as object,
29 utf8_bytes_string, 29 utf8_bytes_string,
30 repr_bytes, 30 repr_bytes,
31 ) 31 )
32 32