equal
deleted
inserted
replaced
46 |
46 |
47 $ cat <<EOF >> $HGRCPATH |
47 $ cat <<EOF >> $HGRCPATH |
48 > [keyword] |
48 > [keyword] |
49 > ** = |
49 > ** = |
50 > b = ignore |
50 > b = ignore |
|
51 > i = ignore |
51 > [hooks] |
52 > [hooks] |
52 > commit= |
53 > commit= |
53 > commit.test=cp a hooktest |
54 > commit.test=cp a hooktest |
54 > EOF |
55 > EOF |
55 |
56 |
496 Touch copied c and check its status |
497 Touch copied c and check its status |
497 |
498 |
498 $ touch c |
499 $ touch c |
499 $ hg status |
500 $ hg status |
500 |
501 |
|
502 Copy kwfile to keyword ignored file unexpanding keywords |
|
503 |
|
504 $ hg --verbose copy a i |
|
505 copying a to i |
|
506 overwriting i shrinking keywords |
|
507 $ head -n 1 i |
|
508 expand $Id$ |
|
509 $ hg forget i |
|
510 $ rm i |
|
511 |
|
512 Copy ignored file to ignored file: no overwriting |
|
513 |
|
514 $ hg --verbose copy b i |
|
515 copying b to i |
|
516 $ hg forget i |
|
517 $ rm i |
|
518 |
|
519 cp symlink (becomes regular file), and hg copy after |
|
520 |
|
521 $ cp sym i |
|
522 $ ls -l i |
|
523 -rw-r--r-- * (glob) |
|
524 $ head -1 i |
|
525 expand $Id: a,v ef63ca68695b 1970/01/01 00:00:00 user $ |
|
526 $ hg copy --after --verbose sym i |
|
527 copying sym to i |
|
528 overwriting i shrinking keywords |
|
529 $ head -1 i |
|
530 expand $Id$ |
|
531 $ hg forget i |
|
532 $ rm i |
|
533 |
501 Test different options of hg kwfiles |
534 Test different options of hg kwfiles |
502 |
535 |
503 $ hg kwfiles |
536 $ hg kwfiles |
504 a |
537 a |
505 c |
538 c |
539 keyword = |
572 keyword = |
540 [keyword] |
573 [keyword] |
541 ** = |
574 ** = |
542 b = ignore |
575 b = ignore |
543 demo.txt = |
576 demo.txt = |
|
577 i = ignore |
544 [keywordmaps] |
578 [keywordmaps] |
545 Xinfo = {author}: {desc} |
579 Xinfo = {author}: {desc} |
546 $Xinfo: test: hg keyword configuration and expansion example $ |
580 $Xinfo: test: hg keyword configuration and expansion example $ |
547 |
581 |
548 Configure custom keywordmaps |
582 Configure custom keywordmaps |