# HG changeset patch # User Matt Mackall # Date 2010-12-15 00:10:51 # Node ID 7397a53219c9b782293e3b980e11fd7ae9bccfe1 # Parent 6320101a638c5084fb9c08e83831f24a54c5d6bb subrepo: re-backout 2245fcd0e160 This bug got introduced into default simultaneously with its backout, so future merges didn't eradicate it. diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -333,8 +333,6 @@ class hgsubrepo(abstractsubrepo): 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)