Show More
@@ -1359,3 +1359,32 b' Test that commit --secret works on both ' | |||||
1359 | $ hg phase -r . |
|
1359 | $ hg phase -r . | |
1360 | 6: secret |
|
1360 | 6: secret | |
1361 | $ cd ../../ |
|
1361 | $ cd ../../ | |
|
1362 | ||||
|
1363 | Test that '[paths]' is configured correctly at subrepo creation | |||
|
1364 | ||||
|
1365 | $ cd $TESTTMP/tc | |||
|
1366 | $ cat > .hgsub <<EOF | |||
|
1367 | > # to clear bogus subrepo path 'bogus=[boguspath' | |||
|
1368 | > s = s | |||
|
1369 | > t = t | |||
|
1370 | > EOF | |||
|
1371 | $ hg update -q --clean null | |||
|
1372 | $ rm -rf s t | |||
|
1373 | $ cat >> .hg/hgrc <<EOF | |||
|
1374 | > [paths] | |||
|
1375 | > default-push = /foo/bar | |||
|
1376 | > EOF | |||
|
1377 | $ hg update -q | |||
|
1378 | $ cat s/.hg/hgrc | |||
|
1379 | [paths] | |||
|
1380 | default = $TESTTMP/t/s | |||
|
1381 | default-push = /foo/bar/s | |||
|
1382 | $ cat s/ss/.hg/hgrc | |||
|
1383 | [paths] | |||
|
1384 | default = $TESTTMP/t/s/ss | |||
|
1385 | default-push = /foo/bar/s/ss | |||
|
1386 | $ cat t/.hg/hgrc | |||
|
1387 | [paths] | |||
|
1388 | default = $TESTTMP/t/t | |||
|
1389 | default-push = /foo/bar/t | |||
|
1390 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now