Mercurial > hg > hgforest
changeset 53:5f46981d6b9c
Fix hg ftrees so it works properly on convert=True
author | Simon Law <simon@akoha.org> |
---|---|
date | Tue, 10 Jul 2007 16:21:50 -0400 |
parents | 504a07390de3 |
children | ccfac5e72669 |
files | forest.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/forest.py Tue Jul 10 12:20:52 2007 -0400 +++ b/forest.py Tue Jul 10 16:21:50 2007 -0400 @@ -520,7 +520,8 @@ l = repo.forests(walkhg) else: root = repo.root - l = [os.sep.join(root, f) for f in repo.forests(walkhg)] + l = [(f == "." and root) or os.sep.join((root, f)) + for f in repo.forests(walkhg)] for t in l: ui.write(t + '\n')