diff mercurial/commands.py @ 887:882756761433

Merge Windows path fixes.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 12 Aug 2005 15:10:09 -0800
parents 6594ba2a0f51 509de8ab6f31
children 391de0bcc722
line wrap: on
line diff
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -32,8 +32,7 @@ def relfilter(repo, files):
 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 = ''):