Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
7559:016a7319e76b | 7570:e05aa73ce2b7 |
---|---|
1795 m.bad = lambda x,y: False | 1795 m.bad = lambda x,y: False |
1796 for abs in repo[rev].walk(m): | 1796 for abs in repo[rev].walk(m): |
1797 if not rev and abs not in repo.dirstate: | 1797 if not rev and abs not in repo.dirstate: |
1798 continue | 1798 continue |
1799 if opts.get('fullpath'): | 1799 if opts.get('fullpath'): |
1800 ui.write(os.path.join(repo.root, abs), end) | 1800 ui.write(repo.wjoin(abs), end) |
1801 else: | 1801 else: |
1802 ui.write(((pats and m.rel(abs)) or abs), end) | 1802 ui.write(((pats and m.rel(abs)) or abs), end) |
1803 ret = 0 | 1803 ret = 0 |
1804 | 1804 |
1805 return ret | 1805 return ret |