diff tests/test-subrepo.out @ 10697:c90d923fff64 stable

subrepo: fix hgrc paths section during subrepo pulling There are two bugs in current subrepo ctor: - hgrc paths were using parent repo (ctx._repo) instead of self._repo - it was joined with local extract path, not its source repo path Fixed both bugs using _abssource on self once it is fully initialized. It gets the job done perfectly for pull and push urls.
author Edouard Gomez <ed.gomez@free.fr>
date Sun, 14 Mar 2010 00:28:10 +0100
parents b07d487009b2
children 7b0a0d498cc0 a375d1777594
line wrap: on
line diff
--- a/tests/test-subrepo.out	Tue Mar 09 12:09:57 2010 +0100
+++ b/tests/test-subrepo.out	Sun Mar 14 00:28:10 2010 +0100
@@ -263,6 +263,6 @@
 updating to branch default
 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
 [paths]
-default = $HGTMP/test-subrepo/sub/mercurial/main/nested_absolute
+default = $HGTMP/test-subrepo/sub/mercurial/nested_absolute
 [paths]
-default = $HGTMP/test-subrepo/sub/mercurial/main/nested_relative
+default = $HGTMP/test-subrepo/sub/mercurial/main/../nested_relative