diff mercurial/commands.py @ 886:509de8ab6f31

Fix walk path handling on Windows
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 12 Aug 2005 15:06:52 -0800
parents 087771ebe2e6
children 882756761433 391de0bcc722 a9b843b114f9
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Aug 12 11:16:58 2005 -0800
+++ b/mercurial/commands.py	Fri Aug 12 15:06:52 2005 -0800
@@ -32,8 +32,7 @@
 def relpath(repo, args):
     cwd = repo.getcwd()
     if cwd:
-        return [util.pconvert(os.path.normpath(os.path.join(cwd, x)))
-                for x in args]
+        return [util.normpath(os.path.join(cwd, x)) for x in args]
     return args
 
 def matchpats(repo, cwd, pats = [], opts = {}, head = ''):