changeset 13137:7397a53219c9

subrepo: re-backout 2245fcd0e160 This bug got introduced into default simultaneously with its backout, so future merges didn't eradicate it.
author Matt Mackall <mpm@selenic.com>
date Tue, 14 Dec 2010 18:10:51 -0600
parents 6320101a638c
children ce05c8130296
files mercurial/subrepo.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/subrepo.py	Tue Dec 14 17:10:01 2010 -0600
+++ b/mercurial/subrepo.py	Tue Dec 14 18:10:51 2010 -0600
@@ -333,8 +333,6 @@
 
             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)