subrepo: re-backout 2245fcd0e160
authorMatt Mackall <mpm@selenic.com>
Tue, 14 Dec 2010 18:10:51 -0600
changeset 13137 7397a53219c9
parent 13136 6320101a638c
child 13138 ce05c8130296
subrepo: re-backout 2245fcd0e160 This bug got introduced into default simultaneously with its backout, so future merges didn't eradicate it.
mercurial/subrepo.py
--- 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)