Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 7570:e05aa73ce2b7
use repo.wjoin(f) instead of os.path.join(repo.root, f)
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Fri, 02 Jan 2009 22:53:33 +0100 |
parents | f1069e7f5635 |
children | e5703ec08e64 |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Dec 31 18:00:35 2008 -0600 +++ b/mercurial/commands.py Fri Jan 02 22:53:33 2009 +0100 @@ -1797,7 +1797,7 @@ if not rev and abs not in repo.dirstate: continue if opts.get('fullpath'): - ui.write(os.path.join(repo.root, abs), end) + ui.write(repo.wjoin(abs), end) else: ui.write(((pats and m.rel(abs)) or abs), end) ret = 0