tests/test-keyword.out
changeset 203 20eaa6147391
parent 202 e2a2f9ca8271
child 208 5afdcec8a01f
equal deleted inserted replaced
202:e2a2f9ca8271 203:20eaa6147391
    30 "Log = {desc}" expands to the first line of the changeset description.
    30 "Log = {desc}" expands to the first line of the changeset description.
    31 Caveat: "hg import" fails if the patch context contains an active
    31 Caveat: "hg import" fails if the patch context contains an active
    32         keyword. In that case run "hg kwshrink", reimport, and then
    32         keyword. In that case run "hg kwshrink", reimport, and then
    33         "hg kwexpand".
    33         "hg kwexpand".
    34         Or, better, use bundle/unbundle to share changes.
    34         Or, better, use bundle/unbundle to share changes.
       
    35 list of commands (use "hg help -v keyword" to show aliases and global options):
    35  kwdemo     print [keywordmaps] configuration and an expansion example
    36  kwdemo     print [keywordmaps] configuration and an expansion example
    36  kwexpand   expand keywords in working directory
    37  kwexpand   expand keywords in working directory
    37  kwshrink   revert expanded keywords in working directory
    38  kwshrink   revert expanded keywords in working directory
    38 % hg kwdemo
    39 % hg kwdemo
    39 [keyword]
    40 [keyword]
    52 $Source: /TMP/demo.txt,v $
    53 $Source: /TMP/demo.txt,v $
    53 $Date: 2000/00/00 00:00:00 $
    54 $Date: 2000/00/00 00:00:00 $
    54 $Id: demo.txt,v xxxxxxxxxxxx 2000/00/00 00:00:00 test $
    55 $Id: demo.txt,v xxxxxxxxxxxx 2000/00/00 00:00:00 test $
    55 $Revision: xxxxxxxxxxxx $
    56 $Revision: xxxxxxxxxxxx $
    56 % kwshrink should abort in empty/invalid repo
    57 % kwshrink should abort in empty/invalid repo
    57 abort: no changeset found!
    58 abort: no revision checked out!
    58 % cat
    59 % cat
    59 expand $Id$
    60 expand $Id$
    60 ignore $Id$
    61 ignore $Id$
    61 % default keyword expansion
    62 % default keyword expansion
    62 % commit
    63 % commit