comparison mercurial/windows.py @ 14231:8abe4db2d162

rename util.parse_patch_output to parsepatchoutput
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 06 May 2011 15:19:48 +0200
parents e4bfb9c337f3
children df2399663392
comparison
equal deleted inserted replaced
14230:d51630301241 14231:8abe4db2d162
72 return 'command' in os.environ.get('comspec', '') 72 return 'command' in os.environ.get('comspec', '')
73 73
74 def openhardlinks(): 74 def openhardlinks():
75 return not _is_win_9x() 75 return not _is_win_9x()
76 76
77 def parse_patch_output(output_line): 77 def parsepatchoutput(output_line):
78 """parses the output produced by patch and returns the filename""" 78 """parses the output produced by patch and returns the filename"""
79 pf = output_line[14:] 79 pf = output_line[14:]
80 if pf[0] == '`': 80 if pf[0] == '`':
81 pf = pf[1:-1] # Remove the quotes 81 pf = pf[1:-1] # Remove the quotes
82 return pf 82 return pf