Mercurial > public > mercurial-scm > hg
comparison mercurial/windows.py @ 8761:0289f384e1e5
Generally replace "file name" with "filename" in help and comments.
author | timeless <timeless@gmail.com> |
---|---|
date | Tue, 09 Jun 2009 09:25:17 -0400 |
parents | 3fa92c618624 |
children | c5f36402daad |
comparison
equal
deleted
inserted
replaced
8760:bf17aeafb869 | 8761:0289f384e1e5 |
---|---|
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 |