comparison mercurial/util.py @ 3673:eb0b4a2d70a9

white space and line break cleanups
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 17 Nov 2006 08:06:54 +0100
parents 48768b1ab23c
children 1a0fa3914c46
comparison
equal deleted inserted replaced
3672:e8730b5b8a32 3673:eb0b4a2d70a9
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] == '`':