Show More
@@ -285,6 +285,22 b' cd ..' | |||
|
285 | 285 | echo % kwexpand nonexistent |
|
286 | 286 | hg kwexpand nonexistent 2>&1 | sed 's/nonexistent:.*/nonexistent:/' |
|
287 | 287 | |
|
288 | echo % hg serve | |
|
289 | hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | |
|
290 | cat hg.pid >> $DAEMON_PIDS | |
|
291 | echo % expansion | |
|
292 | echo % hgweb file | |
|
293 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/a/?style=raw') | |
|
294 | echo % no expansion | |
|
295 | echo % hgweb annotate | |
|
296 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/a/?style=raw') | |
|
297 | echo % hgweb changeset | |
|
298 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw') | |
|
299 | echo % hgweb filediff | |
|
300 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw') | |
|
301 | echo % errors encountered | |
|
302 | cat errors.log | |
|
303 | ||
|
288 | 304 | echo % switch off expansion |
|
289 | 305 | echo % kwshrink with unknown file u |
|
290 | 306 | cp a u |
@@ -300,13 +316,3 b' cat a b' | |||
|
300 | 316 | echo % hg cat |
|
301 | 317 | hg cat sym a b |
|
302 | 318 | echo |
|
303 | ||
|
304 | echo % hg serve | |
|
305 | hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | |
|
306 | cat hg.pid >> $DAEMON_PIDS | |
|
307 | echo % hgweb changeset | |
|
308 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw') | |
|
309 | echo % hgweb filediff | |
|
310 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw') | |
|
311 | echo % errors encountered | |
|
312 | cat errors.log |
@@ -374,37 +374,28 b' xxx $' | |||
|
374 | 374 | $Xinfo$ |
|
375 | 375 | % kwexpand nonexistent |
|
376 | 376 | nonexistent: |
|
377 | % switch off expansion | |
|
378 | % kwshrink with unknown file u | |
|
379 | overwriting a shrinking keywords | |
|
380 | overwriting x/a shrinking keywords | |
|
381 | % cat | |
|
382 | expand $Id$ | |
|
383 | do not process $Id: | |
|
384 | xxx $ | |
|
385 | $Xinfo$ | |
|
386 | ignore $Id$ | |
|
387 | % hg cat | |
|
377 | % hg serve | |
|
378 | % expansion | |
|
379 | % hgweb file | |
|
380 | 200 Script output follows | |
|
381 | ||
|
388 | 382 | expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
|
389 | 383 | do not process $Id: |
|
390 | 384 | xxx $ |
|
391 | 385 | $Xinfo: User Name <user@example.com>: firstline $ |
|
392 | ignore $Id$ | |
|
393 | a | |
|
394 | % cat | |
|
395 | expand $Id$ | |
|
396 | do not process $Id: | |
|
397 | xxx $ | |
|
398 | $Xinfo$ | |
|
399 | ignore $Id$ | |
|
400 | % hg cat | |
|
401 | expand $Id$ | |
|
402 | do not process $Id: | |
|
403 | xxx $ | |
|
404 | $Xinfo$ | |
|
405 | ignore $Id$ | |
|
406 | a | |
|
407 | % hg serve | |
|
386 | % no expansion | |
|
387 | % hgweb annotate | |
|
388 | 200 Script output follows | |
|
389 | ||
|
390 | ||
|
391 | User Name <user@example.com>@1: expand $Id$ | |
|
392 | User Name <user@example.com>@1: do not process $Id: | |
|
393 | User Name <user@example.com>@1: xxx $ | |
|
394 | User Name <user@example.com>@2: $Xinfo$ | |
|
395 | ||
|
396 | ||
|
397 | ||
|
398 | ||
|
408 | 399 | % hgweb changeset |
|
409 | 400 | 200 Script output follows |
|
410 | 401 | |
@@ -440,3 +431,33 b' 200 Script output follows' | |||
|
440 | 431 | |
|
441 | 432 | |
|
442 | 433 | % errors encountered |
|
434 | % switch off expansion | |
|
435 | % kwshrink with unknown file u | |
|
436 | overwriting a shrinking keywords | |
|
437 | overwriting x/a shrinking keywords | |
|
438 | % cat | |
|
439 | expand $Id$ | |
|
440 | do not process $Id: | |
|
441 | xxx $ | |
|
442 | $Xinfo$ | |
|
443 | ignore $Id$ | |
|
444 | % hg cat | |
|
445 | expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ | |
|
446 | do not process $Id: | |
|
447 | xxx $ | |
|
448 | $Xinfo: User Name <user@example.com>: firstline $ | |
|
449 | ignore $Id$ | |
|
450 | a | |
|
451 | % cat | |
|
452 | expand $Id$ | |
|
453 | do not process $Id: | |
|
454 | xxx $ | |
|
455 | $Xinfo$ | |
|
456 | ignore $Id$ | |
|
457 | % hg cat | |
|
458 | expand $Id$ | |
|
459 | do not process $Id: | |
|
460 | xxx $ | |
|
461 | $Xinfo$ | |
|
462 | ignore $Id$ | |
|
463 | a |
General Comments 0
You need to be logged in to leave comments.
Login now