equal
deleted
inserted
replaced
608 if userprofile: |
608 if userprofile: |
609 path.append(os.path.join(userprofile, 'mercurial.ini')) |
609 path.append(os.path.join(userprofile, 'mercurial.ini')) |
610 return path |
610 return path |
611 |
611 |
612 def user_rcpath(): |
612 def user_rcpath(): |
613 '''return os-specific hgrc search path to the user dir''' |
613 '''return os-specific hgrc search path to the user dir''' |
614 return os.path.join(os.path.expanduser('~'), 'mercurial.ini') |
614 return os.path.join(os.path.expanduser('~'), 'mercurial.ini') |
615 |
615 |
616 def parse_patch_output(output_line): |
616 def parse_patch_output(output_line): |
617 """parses the output produced by patch and returns the file name""" |
617 """parses the output produced by patch and returns the file name""" |
618 pf = output_line[14:] |
618 pf = output_line[14:] |
619 if pf[0] == '`': |
619 if pf[0] == '`': |