mercurial/windows.py
changeset 8761 0289f384e1e5
parent 8657 3fa92c618624
child 8778 c5f36402daad
equal deleted inserted replaced
8760:bf17aeafb869 8761:0289f384e1e5
    89         path.append(os.path.join(userprofile, 'mercurial.ini'))
    89         path.append(os.path.join(userprofile, 'mercurial.ini'))
    90         path.append(os.path.join(userprofile, '.hgrc'))
    90         path.append(os.path.join(userprofile, '.hgrc'))
    91     return path
    91     return path
    92 
    92 
    93 def parse_patch_output(output_line):
    93 def parse_patch_output(output_line):
    94     """parses the output produced by patch and returns the file name"""
    94     """parses the output produced by patch and returns the filename"""
    95     pf = output_line[14:]
    95     pf = output_line[14:]
    96     if pf[0] == '`':
    96     if pf[0] == '`':
    97         pf = pf[1:-1] # Remove the quotes
    97         pf = pf[1:-1] # Remove the quotes
    98     return pf
    98     return pf
    99 
    99