mercurial/util.py
changeset 3673 eb0b4a2d70a9
parent 3651 48768b1ab23c
child 3677 1a0fa3914c46
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] == '`':