comparison mercurial/windows.py @ 17424:e7cfe3587ea4

fix trivial spelling errors
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 15 Aug 2012 22:38:42 +0200
parents fc24c10424d2
children 31f32a96e1e3
comparison
equal deleted inserted replaced
17406:fc14953e8e34 17424:e7cfe3587ea4
150 # - if there's an odd number of backslashes, the double quote is quoted 150 # - if there's an odd number of backslashes, the double quote is quoted
151 # - in both cases, every pair of backslashes is unquoted into a single 151 # - in both cases, every pair of backslashes is unquoted into a single
152 # backslash 152 # backslash
153 # (See http://msdn2.microsoft.com/en-us/library/a1y7w461.aspx ) 153 # (See http://msdn2.microsoft.com/en-us/library/a1y7w461.aspx )
154 # So, to quote a string, we must surround it in double quotes, double 154 # So, to quote a string, we must surround it in double quotes, double
155 # the number of backslashes that preceed double quotes and add another 155 # the number of backslashes that precede double quotes and add another
156 # backslash before every double quote (being careful with the double 156 # backslash before every double quote (being careful with the double
157 # quote we've appended to the end) 157 # quote we've appended to the end)
158 _quotere = None 158 _quotere = None
159 def shellquote(s): 159 def shellquote(s):
160 global _quotere 160 global _quotere