Mercurial > hg
diff mercurial/subrepo.py @ 13126:e76701bf4480
merge default heads in crew and main
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 13 Dec 2010 11:52:52 +0100 |
parents | 8568bbdfbafe 4a13ca2c21ce |
children | 7397a53219c9 |
line wrap: on
line diff
--- a/mercurial/subrepo.py Tue Dec 07 16:08:16 2010 +0100 +++ b/mercurial/subrepo.py Mon Dec 13 11:52:52 2010 +0100 @@ -333,6 +333,8 @@ def addpathconfig(key, value): if value: + if not os.path.isabs(value): + value = os.path.relpath(os.path.abspath(value), root) fp.write('%s = %s\n' % (key, value)) self._repo.ui.setconfig('paths', key, value)