tests/test-keyword.out
branchstable
changeset 671 629956d13cbc
parent 669 f077a5dc5b63
child 679 f4cb54ed71b1
equal deleted inserted replaced
665:06ccaeb6cfc1 671:629956d13cbc
     1 % hg kwdemo
     1 % hg kwdemo
     2 [extensions]
     2 [extensions]
     3 hgext.keyword = 
     3 keyword = 
     4 [keyword]
     4 [keyword]
     5 demo.txt = 
     5 demo.txt = 
     6 [keywordmaps]
     6 [keywordmaps]
     7 Author = {author|user}
     7 Author = {author|user}
     8 Date = {date|utcdate}
     8 Date = {date|utcdate}
    19 $RCSFile: demo.txt,v $
    19 $RCSFile: demo.txt,v $
    20 $RCSfile: demo.txt,v $
    20 $RCSfile: demo.txt,v $
    21 $Revision: xxxxxxxxxxxx $
    21 $Revision: xxxxxxxxxxxx $
    22 $Source: /TMP/demo.txt,v $
    22 $Source: /TMP/demo.txt,v $
    23 [extensions]
    23 [extensions]
    24 hgext.keyword = 
    24 keyword = 
    25 [keyword]
    25 [keyword]
    26 demo.txt = 
    26 demo.txt = 
    27 [keywordmaps]
    27 [keywordmaps]
    28 Branch = {branches}
    28 Branch = {branches}
    29 $Branch: demobranch $
    29 $Branch: demobranch $
   204 % update -C
   204 % update -C
   205 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   205 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   206 % custom keyword expansion
   206 % custom keyword expansion
   207 % try with kwdemo
   207 % try with kwdemo
   208 [extensions]
   208 [extensions]
   209 hgext.keyword = 
   209 keyword = 
   210 [keyword]
   210 [keyword]
   211 * = 
   211 * = 
   212 b = ignore
   212 b = ignore
   213 demo.txt = 
   213 demo.txt = 
   214 [keywordmaps]
   214 [keywordmaps]
   418 foo
   418 foo
   419 >>>>>>> other
   419 >>>>>>> other
   420 % resolve to local
   420 % resolve to local
   421 $Id: m 43dfd2854b5b Thu, 01 Jan 1970 00:00:00 +0000 test $
   421 $Id: m 43dfd2854b5b Thu, 01 Jan 1970 00:00:00 +0000 test $
   422 bar
   422 bar
       
   423 % test restricted mode with transplant -b
       
   424 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   425 marked working directory as branch foo
       
   426 created new head
       
   427 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   428 applying 1c4378f51c4d
       
   429 1c4378f51c4d transplanted to 7d855abcab87
       
   430 % no expansion in changeset
       
   431 changeset:   11:7d855abcab87
       
   432 tag:         tip
       
   433 parent:      9:43dfd2854b5b
       
   434 user:        test
       
   435 date:        Thu Jan 01 00:00:00 1970 +0000
       
   436 summary:     9foobranch
       
   437 
       
   438 diff -r 43dfd2854b5b -r 7d855abcab87 a
       
   439 --- a/a	Thu Jan 01 00:00:00 1970 +0000
       
   440 +++ b/a	Thu Jan 01 00:00:00 1970 +0000
       
   441 @@ -1,3 +1,4 @@
       
   442 +foobranch
       
   443  expand $Id$
       
   444  do not process $Id:
       
   445  xxx $
       
   446 
       
   447 % expansion in file
       
   448 foobranch
       
   449 expand $Id: a 7d855abcab87 Thu, 01 Jan 1970 00:00:00 +0000 test $
   423 % switch off expansion
   450 % switch off expansion
   424 % kwshrink with unknown file u
   451 % kwshrink with unknown file u
   425 overwriting a shrinking keywords
   452 overwriting a shrinking keywords
   426 overwriting m shrinking keywords
   453 overwriting m shrinking keywords
   427 overwriting x/a shrinking keywords
   454 overwriting x/a shrinking keywords