##// END OF EJS Templates
test-subrepo-paths: moved comment lines to where they belong
Martin Geisler -
r11959:be333818 default
parent child Browse files
Show More
@@ -1,35 +1,35 b''
1 1 $ hg init outer
2 2 $ cd outer
3 3
4 hg debugsub with no remapping
5
4 6 $ echo 'sub = http://example.net/libfoo' > .hgsub
5 7 $ hg add .hgsub
6 8
7 hg debugsub with no remapping
8
9 9 $ hg debugsub
10 10 path sub
11 11 source http://example.net/libfoo
12 12 revision
13 13
14 hg debugsub with remapping
15
14 16 $ cat > .hg/hgrc <<EOF
15 17 > [subpaths]
16 18 > http://example.net = ssh://localhost
17 19 > EOF
18 20
19 hg debugsub with remapping
20
21 21 $ hg debugsub
22 22 path sub
23 23 source ssh://localhost/libfoo
24 24 revision
25 25
26 26 test bad subpaths pattern
27 27
28 28 $ cat > .hg/hgrc <<EOF
29 29 > [subpaths]
30 30 > .* = \1
31 31 > EOF
32 32 $ hg debugsub
33 33 abort: bad subrepository pattern in .*/test-subrepo-paths.t/outer/.hg/hgrc:2: invalid group reference
34 34
35 35 $ exit 0
General Comments 0
You need to be logged in to leave comments. Login now