mercurial/patch.py
changeset 31630 451c980a8b57
parent 31274 a8023a64c40d
child 31631 a7acda2de4b8
equal deleted inserted replaced
31629:2632df096fc0 31630:451c980a8b57
    40     util,
    40     util,
    41     vfs as vfsmod,
    41     vfs as vfsmod,
    42 )
    42 )
    43 stringio = util.stringio
    43 stringio = util.stringio
    44 
    44 
    45 gitre = re.compile('diff --git a/(.*) b/(.*)')
    45 gitre = re.compile(br'diff --git a/(.*) b/(.*)')
    46 tabsplitter = re.compile(r'(\t+|[^\t]+)')
    46 tabsplitter = re.compile(br'(\t+|[^\t]+)')
    47 
    47 
    48 class PatchError(Exception):
    48 class PatchError(Exception):
    49     pass
    49     pass
    50 
    50 
    51 
    51