mercurial/patch.py
changeset 38052 468797392cc6
parent 38048 b403e87df069
child 38084 86e0a4bede5d
equal deleted inserted replaced
38051:cab398cb9b49 38052:468797392cc6
    49 stringio = util.stringio
    49 stringio = util.stringio
    50 
    50 
    51 gitre = re.compile(br'diff --git a/(.*) b/(.*)')
    51 gitre = re.compile(br'diff --git a/(.*) b/(.*)')
    52 tabsplitter = re.compile(br'(\t+|[^\t]+)')
    52 tabsplitter = re.compile(br'(\t+|[^\t]+)')
    53 wordsplitter = re.compile(br'(\t+| +|[a-zA-Z0-9_\x80-\xff]+|'
    53 wordsplitter = re.compile(br'(\t+| +|[a-zA-Z0-9_\x80-\xff]+|'
    54                           '[^ \ta-zA-Z0-9_\x80-\xff])')
    54                           b'[^ \ta-zA-Z0-9_\x80-\xff])')
    55 
    55 
    56 PatchError = error.PatchError
    56 PatchError = error.PatchError
    57 
    57 
    58 # public functions
    58 # public functions
    59 
    59