equal
deleted
inserted
replaced
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 |