Mercurial > hg
comparison mercurial/windows.py @ 15489:25ea33fe7e5c
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 15 Nov 2011 14:33:06 -0600 |
parents | 9ab2b3b730ee 6eff984d8e76 |
children | 5402fd9dd13e |
comparison
equal
deleted
inserted
replaced
15486:1eefa4451c56 | 15489:25ea33fe7e5c |
---|---|
128 def localpath(path): | 128 def localpath(path): |
129 return path.replace('/', '\\') | 129 return path.replace('/', '\\') |
130 | 130 |
131 def normpath(path): | 131 def normpath(path): |
132 return pconvert(os.path.normpath(path)) | 132 return pconvert(os.path.normpath(path)) |
133 | |
134 normcase = os.path.normcase | |
133 | 135 |
134 def realpath(path): | 136 def realpath(path): |
135 ''' | 137 ''' |
136 Returns the true, canonical file system path equivalent to the given | 138 Returns the true, canonical file system path equivalent to the given |
137 path. | 139 path. |