tests/test-keyword.t
branchstable
changeset 797 f0d8ac85ca21
parent 793 9cc90e2c826f
child 800 c4211177a2fc
equal deleted inserted replaced
795:234c4314c6a4 797:f0d8ac85ca21
    24   Id = {file|basename},v {node|short} {date|utcdate} {author|user}
    24   Id = {file|basename},v {node|short} {date|utcdate} {author|user}
    25   RCSFile = {file|basename},v
    25   RCSFile = {file|basename},v
    26   RCSfile = {file|basename},v
    26   RCSfile = {file|basename},v
    27   Revision = {node|short}
    27   Revision = {node|short}
    28   Source = {root}/{file},v
    28   Source = {root}/{file},v
    29   \$Author: test \$
    29   $Author: test $
    30   \$Date: ..../../.. ..:..:.. \$
    30   \$Date: ..../../.. ..:..:.. \$
    31   \$Header: .*/demo.txt,v ............ ..../../.. ..:..:.. test \$
    31   \$Header: .*/demo\.txt,v ............ ..../../.. ..:..:.. test \$
    32   \$Id: demo.txt,v ............ ..../../.. ..:..:.. test \$
    32   \$Id: demo\.txt,v ............ ..../../.. ..:..:.. test \$
    33   \$RCSFile: demo.txt,v \$
    33   $RCSFile: demo.txt,v $
    34   \$RCSfile: demo.txt,v \$
    34   $RCSfile: demo.txt,v $
    35   \$Revision: ............ \$
    35   \$Revision: ............ \$
    36   \$Source: .*/demo.txt,v \$
    36   \$Source: .*/demo\.txt,v \$
    37 
    37 
    38   $ hg --quiet kwdemo "Branch = {branches}"
    38   $ hg --quiet kwdemo "Branch = {branches}"
    39   [extensions]
    39   [extensions]
    40   keyword =
    40   keyword =
    41   [keyword]
    41   [keyword]
    69  hg add sym
    69  hg add sym
    70  hg ci -m addsym -u mercurial
    70  hg ci -m addsym -u mercurial
    71  hg bundle --base null ../test-keyword.hg
    71  hg bundle --base null ../test-keyword.hg
    72 
    72 
    73   $ hg pull -u "$TESTDIR"/test-keyword.hg
    73   $ hg pull -u "$TESTDIR"/test-keyword.hg
    74   pulling from .*test-keyword.hg
    74   pulling from .*test-keyword\.hg
    75   requesting all changes
    75   requesting all changes
    76   adding changesets
    76   adding changesets
    77   adding manifests
    77   adding manifests
    78   adding file changes
    78   adding file changes
    79   added 1 changesets with 1 changes to 1 files
    79   added 1 changesets with 1 changes to 1 files
   197   Content-Transfer-Encoding: 7bit
   197   Content-Transfer-Encoding: 7bit
   198   Date: .*
   198   Date: .*
   199   Subject: changeset in .*
   199   Subject: changeset in .*
   200   From: mercurial
   200   From: mercurial
   201   X-Hg-Notification: changeset a2392c293916
   201   X-Hg-Notification: changeset a2392c293916
   202   Message-Id: <hg.a2392c293916.*>
   202   Message-Id: <hg\.a2392c293916.*>
   203   To: Test
   203   To: Test
   204   
   204   
   205   changeset a2392c293916 in .*
   205   changeset a2392c293916 in .*
   206   details: .*?cmd=changeset;node=a2392c293916
   206   details: .*\?cmd=changeset;node=a2392c293916
   207   description:
   207   description:
   208   	addsym
   208   	addsym
   209   
   209   
   210   diffs (6 lines):
   210   diffs (6 lines):
   211   
   211   
   220   Content-Transfer-Encoding: 7bit
   220   Content-Transfer-Encoding: 7bit
   221   Date:.*
   221   Date:.*
   222   Subject: changeset in.*
   222   Subject: changeset in.*
   223   From: User Name <user@example.com>
   223   From: User Name <user@example.com>
   224   X-Hg-Notification: changeset ef63ca68695b
   224   X-Hg-Notification: changeset ef63ca68695b
   225   Message-Id: <hg.ef63ca68695b.*>
   225   Message-Id: <hg\.ef63ca68695b.*>
   226   To: Test
   226   To: Test
   227   
   227   
   228   changeset ef63ca68695b in .*
   228   changeset ef63ca68695b in .*
   229   details: .*?cmd=changeset;node=ef63ca68695b
   229   details: .*\?cmd=changeset;node=ef63ca68695b
   230   description:
   230   description:
   231   	absym
   231   	absym
   232   
   232   
   233   diffs (12 lines):
   233   diffs (12 lines):
   234   
   234   
   646   $ cat <<EOF >> .hg/hgrc
   646   $ cat <<EOF >> .hg/hgrc
   647   > [paths]
   647   > [paths]
   648   > default = ../Test
   648   > default = ../Test
   649   > EOF
   649   > EOF
   650   $ hg incoming
   650   $ hg incoming
   651   comparing with .*test-keyword.t/Test
   651   comparing with .*test-keyword\.t/Test
   652   searching for changes
   652   searching for changes
   653   changeset:   2:bb948857c743
   653   changeset:   2:bb948857c743
   654   tag:         tip
   654   tag:         tip
   655   user:        User Name <user@example.com>
   655   user:        User Name <user@example.com>
   656   date:        Thu Jan 01 00:00:02 1970 +0000
   656   date:        Thu Jan 01 00:00:02 1970 +0000