Show More
@@ -1097,6 +1097,7 at subsequent webcommands) | |||||
1097 | xxx $ |
|
1097 | xxx $ | |
1098 | $Xinfo: User Name <user@example.com>: firstline $ |
|
1098 | $Xinfo: User Name <user@example.com>: firstline $ | |
1099 |
|
1099 | |||
|
1100 | $ killdaemons.py | |||
1100 | $ cat errors.log |
|
1101 | $ cat errors.log | |
1101 | #endif |
|
1102 | #endif | |
1102 |
|
1103 | |||
@@ -1429,3 +1430,46 suppress expanding keywords at subsequen | |||||
1429 | bar |
|
1430 | bar | |
1430 |
|
1431 | |||
1431 | $ cd .. |
|
1432 | $ cd .. | |
|
1433 | ||||
|
1434 | #if serve | |||
|
1435 | ||||
|
1436 | Test that keywords are expanded only in repositories, which enable | |||
|
1437 | keyword extension, even if multiple repositories are served in a | |||
|
1438 | process | |||
|
1439 | ||||
|
1440 | $ cat >> fetch-merge/.hg/hgrc <<EOF | |||
|
1441 | > [extensions] | |||
|
1442 | > keyword = ! | |||
|
1443 | > EOF | |||
|
1444 | ||||
|
1445 | $ cat > paths.conf <<EOF | |||
|
1446 | > [paths] | |||
|
1447 | > enabled=Test | |||
|
1448 | > disabled=fetch-merge | |||
|
1449 | > EOF | |||
|
1450 | ||||
|
1451 | $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E error.log --webdir-conf paths.conf | |||
|
1452 | $ cat hg.pid >> $DAEMON_PIDS | |||
|
1453 | ||||
|
1454 | $ get-with-headers.py localhost:$HGPORT 'enabled/file/tip/m/?style=raw' | |||
|
1455 | 200 Script output follows | |||
|
1456 | ||||
|
1457 | $Id: m 800511b3a22d Thu, 01 Jan 1970 00:00:00 +0000 test $ | |||
|
1458 | bar | |||
|
1459 | ||||
|
1460 | $ get-with-headers.py localhost:$HGPORT 'disabled/file/tip/m/?style=raw' | |||
|
1461 | 200 Script output follows | |||
|
1462 | ||||
|
1463 | $Id$ | |||
|
1464 | bar | |||
|
1465 | ||||
|
1466 | (check expansion again, for safety) | |||
|
1467 | ||||
|
1468 | $ get-with-headers.py localhost:$HGPORT 'enabled/file/tip/m/?style=raw' | |||
|
1469 | 200 Script output follows | |||
|
1470 | ||||
|
1471 | $Id: m 800511b3a22d Thu, 01 Jan 1970 00:00:00 +0000 test $ | |||
|
1472 | bar | |||
|
1473 | ||||
|
1474 | $ killdaemons.py | |||
|
1475 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now