changeset 13578:e720b3324e35

test-subrepo-paths: test cummulative remapping
author Martin Geisler <mg@aragost.com>
date Fri, 11 Mar 2011 12:42:07 +0100
parents 18937290986c
children 3cbb3c57a50e
files tests/test-subrepo-paths.t
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-subrepo-paths.t	Fri Mar 11 12:35:41 2011 +0100
+++ b/tests/test-subrepo-paths.t	Fri Mar 11 12:42:07 2011 +0100
@@ -21,6 +21,15 @@
    source   C:\libs\foo-lib\
    revision 
 
+test cummulative remapping, the $HGRCPATH file is loaded first
+
+  $ echo '[subpaths]' >> $HGRCPATH
+  $ echo 'libfoo = libbar' >> $HGRCPATH
+  $ hg debugsub
+  path sub
+   source   C:\libs\bar-lib\
+   revision 
+
 test bad subpaths pattern
 
   $ cat > .hg/hgrc <<EOF