Show More
@@ -285,6 +285,22 b' cd ..' | |||||
285 | echo % kwexpand nonexistent |
|
285 | echo % kwexpand nonexistent | |
286 | hg kwexpand nonexistent 2>&1 | sed 's/nonexistent:.*/nonexistent:/' |
|
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 | echo % switch off expansion |
|
304 | echo % switch off expansion | |
289 | echo % kwshrink with unknown file u |
|
305 | echo % kwshrink with unknown file u | |
290 | cp a u |
|
306 | cp a u | |
@@ -300,13 +316,3 b' cat a b' | |||||
300 | echo % hg cat |
|
316 | echo % hg cat | |
301 | hg cat sym a b |
|
317 | hg cat sym a b | |
302 | echo |
|
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 | $Xinfo$ |
|
374 | $Xinfo$ | |
375 | % kwexpand nonexistent |
|
375 | % kwexpand nonexistent | |
376 | nonexistent: |
|
376 | nonexistent: | |
377 | % switch off expansion |
|
377 | % hg serve | |
378 | % kwshrink with unknown file u |
|
378 | % expansion | |
379 | overwriting a shrinking keywords |
|
379 | % hgweb file | |
380 | overwriting x/a shrinking keywords |
|
380 | 200 Script output follows | |
381 | % cat |
|
381 | ||
382 | expand $Id$ |
|
|||
383 | do not process $Id: |
|
|||
384 | xxx $ |
|
|||
385 | $Xinfo$ |
|
|||
386 | ignore $Id$ |
|
|||
387 | % hg cat |
|
|||
388 | expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
|
382 | expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ | |
389 | do not process $Id: |
|
383 | do not process $Id: | |
390 | xxx $ |
|
384 | xxx $ | |
391 | $Xinfo: User Name <user@example.com>: firstline $ |
|
385 | $Xinfo: User Name <user@example.com>: firstline $ | |
392 | ignore $Id$ |
|
386 | % no expansion | |
393 | a |
|
387 | % hgweb annotate | |
394 | % cat |
|
388 | 200 Script output follows | |
395 | expand $Id$ |
|
389 | ||
396 | do not process $Id: |
|
390 | ||
397 | xxx $ |
|
391 | User Name <user@example.com>@1: expand $Id$ | |
398 | $Xinfo$ |
|
392 | User Name <user@example.com>@1: do not process $Id: | |
399 | ignore $Id$ |
|
393 | User Name <user@example.com>@1: xxx $ | |
400 | % hg cat |
|
394 | User Name <user@example.com>@2: $Xinfo$ | |
401 | expand $Id$ |
|
395 | ||
402 | do not process $Id: |
|
396 | ||
403 | xxx $ |
|
397 | ||
404 | $Xinfo$ |
|
398 | ||
405 | ignore $Id$ |
|
|||
406 | a |
|
|||
407 | % hg serve |
|
|||
408 | % hgweb changeset |
|
399 | % hgweb changeset | |
409 | 200 Script output follows |
|
400 | 200 Script output follows | |
410 |
|
401 | |||
@@ -440,3 +431,33 b' 200 Script output follows' | |||||
440 |
|
431 | |||
441 |
|
432 | |||
442 | % errors encountered |
|
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