diff tests/test-subrepo.out @ 10378:e1401c74572f

subrepo: change default path in hgrc of subrepo after cloning Previous behavior was to put in the cloned subrepos the path found in the original main repo. However it isn't valid for relative path and it seems more logical to reference instead the subrepos working copy path of the original main repo.
author Saint Germain <saintger@gmail.com>
date Sat, 06 Feb 2010 19:14:37 +0100
parents 0bc93fa2cf2b
children 65a90c8e11ee
line wrap: on
line diff
--- a/tests/test-subrepo.out	Sun Feb 07 15:31:53 2010 +0100
+++ b/tests/test-subrepo.out	Sat Feb 06 19:14:37 2010 +0100
@@ -243,3 +243,15 @@
 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 (branch merge, don't forget to commit)
+% test repository cloning
+adding nested_absolute/foo
+adding nested_relative/foo2
+adding main/.hgsub
+committing subrepository nested_relative
+committing subrepository nested_absolute
+updating to branch default
+2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+[paths]
+default = /tmp/mercurial/main/nested_absolute
+[paths]
+default = /tmp/mercurial/main/nested_relative