annotate tests/test-kwarchive.t @ 322:950a9bd55d7e

Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 20 Feb 2019 23:59:31 +0100
parents 103df4b7a0c8
children 52e1ea6acff1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
1
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
2 Setup
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
3
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
4 $ . $TESTDIR/lib-test-kwarchive.sh
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
5 $ prepare_repo "repo1"
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
6 $ cd "repo1"
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
7
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
8 kwprint (defaults -- nopwd/user)
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
9
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
10 $ hg kwprint --path=.
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
11 $Author: first.second $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
12 $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
13 $HGbookmarks: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
14 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
15 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
16 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
17 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
18 $HGlatesttags: null $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
19 $HGpath: file://$TESTTMP/repo1 $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
20 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
21 $HGrevision: 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
22 $HGshortdate: 1970-01-01 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
23 $HGtags: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
24 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
25 $Revision: 54f2f8d67c37 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
26 $State: draft $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
27 ^$ (re)
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
28 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
29 $HGheader: file://$TESTTMP/repo1/dir1/dir2/test.file 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
30 $HGid: file://$TESTTMP/repo1/dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
31 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
32 $HGsource: file://$TESTTMP/repo1/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
33 $Header: dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
34 $Id: test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
35 $Source: dir1/dir2/test.file $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
36
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
37 kwprint full
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
38
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
39 $ hg kwprint --path=. --path-filter=full --user-filter=full
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
40 $Author: First+Second+<first.second@example.com> $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
41 $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
42 $HGbookmarks: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
43 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
44 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
45 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
46 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
47 $HGlatesttags: null $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
48 $HGpath: file://$TESTTMP/repo1 $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
49 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
50 $HGrevision: 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
51 $HGshortdate: 1970-01-01 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
52 $HGtags: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
53 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
54 $Revision: 54f2f8d67c37 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
55 $State: draft $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
56 ^$ (re)
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
57 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
58 $HGheader: file://$TESTTMP/repo1/dir1/dir2/test.file 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
59 $HGid: file://$TESTTMP/repo1/dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
60 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
61 $HGsource: file://$TESTTMP/repo1/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
62 $Header: dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
63 $Id: test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
64 $Source: dir1/dir2/test.file $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
65
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
66 kwprint last/person
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
67
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
68 $ hg kwprint --path=. --user-filter=person --path-filter=last
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
69 $Author: First+Second $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
70 $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
71 $HGbookmarks: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
72 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
73 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
74 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
75 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
76 $HGlatesttags: null $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
77 $HGpath: .../repo1 $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
78 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
79 $HGrevision: 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
80 $HGshortdate: 1970-01-01 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
81 $HGtags: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
82 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
83 $Revision: 54f2f8d67c37 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
84 $State: draft $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
85 ^$ (re)
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
86 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
87 $HGheader: .../repo1/dir1/dir2/test.file 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 First+Second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
88 $HGid: .../repo1/dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 First+Second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
89 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
90 $HGsource: .../repo1/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
91 $Header: dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 First+Second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
92 $Id: test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 First+Second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
93 $Source: dir1/dir2/test.file $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
94
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
95 kwprint short/email
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
96
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
97 $ hg kwprint --path=. --user-filter=email --path-filter=short
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
98 $Author: first.second@example.com $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
99 $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
100 $HGbookmarks: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
101 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
102 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
103 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
104 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
105 $HGlatesttags: null $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
106 $HGpath: file://$TESTTMP/repo1 $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
107 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
108 $HGrevision: 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
109 $HGshortdate: 1970-01-01 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
110 $HGtags: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
111 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
112 $Revision: 54f2f8d67c37 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
113 $State: draft $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
114 ^$ (re)
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
115 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
116 $HGheader: file://$TESTTMP/repo1/dir1/dir2/test.file 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 first.second@example.com draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
117 $HGid: file://$TESTTMP/repo1/dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second@example.com draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
118 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
119 $HGsource: file://$TESTTMP/repo1/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
120 $Header: dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second@example.com draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
121 $Id: test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second@example.com draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
122 $Source: dir1/dir2/test.file $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
123
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
124 kwprint with default path (short)
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
125
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
126 $ hg kwprint
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
127 $Author: first.second $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
128 $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
129 $HGbookmarks: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
130 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
131 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
132 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
133 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
134 $HGlatesttags: null $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
135 $HGpath: hg+https://hg/repo.hg $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
136 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
137 $HGrevision: 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
138 $HGshortdate: 1970-01-01 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
139 $HGtags: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
140 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
141 $Revision: 54f2f8d67c37 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
142 $State: draft $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
143 ^$ (re)
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
144 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
145 $HGheader: hg+https://hg/repo.hg/dir1/dir2/test.file 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
146 $HGid: hg+https://hg/repo.hg/dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
147 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
148 $HGsource: hg+https://hg/repo.hg/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
149 $Header: dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
150 $Id: test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
151 $Source: dir1/dir2/test.file $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
152
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
153
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
154 kwprint with full default path
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
155
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
156 $ hg kwprint --path-filter=full
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
157 $Author: first.second $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
158 $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
159 $HGbookmarks: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
160 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
161 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
162 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
163 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
164 $HGlatesttags: null $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
165 $HGpath: https://theuser:thepass@hg.example.com:4443/repo.hg $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
166 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
167 $HGrevision: 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
168 $HGshortdate: 1970-01-01 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
169 $HGtags: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
170 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
171 $Revision: 54f2f8d67c37 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
172 $State: draft $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
173 ^$ (re)
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
174 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
175 $HGheader: https://theuser:thepass@hg.example.com:4443/repo.hg/dir1/dir2/test.file 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
176 $HGid: https://theuser:thepass@hg.example.com:4443/repo.hg/dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
177 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
178 $HGsource: https://theuser:thepass@hg.example.com:4443/repo.hg/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
179 $Header: dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
180 $Id: test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
181 $Source: dir1/dir2/test.file $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
182
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
183 kwprint with nopwd default path
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
184
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
185 $ hg kwprint --path-filter=nopwd
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
186 $Author: first.second $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
187 $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
188 $HGbookmarks: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
189 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
190 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
191 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
192 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
193 $HGlatesttags: null $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
194 $HGpath: https://theuser:***@hg.example.com:4443/repo.hg $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
195 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
196 $HGrevision: 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
197 $HGshortdate: 1970-01-01 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
198 $HGtags: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
199 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
200 $Revision: 54f2f8d67c37 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
201 $State: draft $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
202 ^$ (re)
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
203 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
204 $HGheader: https://theuser:***@hg.example.com:4443/repo.hg/dir1/dir2/test.file 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
205 $HGid: https://theuser:***@hg.example.com:4443/repo.hg/dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
206 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
207 $HGsource: https://theuser:***@hg.example.com:4443/repo.hg/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
208 $Header: dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
209 $Id: test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
210 $Source: dir1/dir2/test.file $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
211
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
212 kwprint with nouser default path
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
213
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
214 $ hg kwprint --path-filter=nouser
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
215 $Author: first.second $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
216 $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
217 $HGbookmarks: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
218 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
219 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
220 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
221 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
222 $HGlatesttags: null $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
223 $HGpath: https://hg.example.com:4443/repo.hg $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
224 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
225 $HGrevision: 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
226 $HGshortdate: 1970-01-01 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
227 $HGtags: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
228 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
229 $Revision: 54f2f8d67c37 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
230 $State: draft $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
231 ^$ (re)
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
232 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
233 $HGheader: https://hg.example.com:4443/repo.hg/dir1/dir2/test.file 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
234 $HGid: https://hg.example.com:4443/repo.hg/dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
235 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
236 $HGsource: https://hg.example.com:4443/repo.hg/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
237 $Header: dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
238 $Id: test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
239 $Source: dir1/dir2/test.file $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
240
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
241 kwprint with "last" path
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
242
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
243 $ hg kwprint --path-filter=last
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
244 $Author: first.second $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
245 $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
246 $HGbookmarks: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
247 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
248 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
249 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
250 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
251 $HGlatesttags: null $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
252 $HGpath: .../repo.hg $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
253 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
254 $HGrevision: 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
255 $HGshortdate: 1970-01-01 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
256 $HGtags: $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
257 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
258 $Revision: 54f2f8d67c37 $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
259 $State: draft $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
260 ^$ (re)
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
261 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
262 $HGheader: .../repo.hg/dir1/dir2/test.file 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
263 $HGid: .../repo.hg/dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
264 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
265 $HGsource: .../repo.hg/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
266 $Header: dir1/dir2/test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
267 $Id: test.file 54f2f8d67c37 1970-01-01 00:00:00 +0000 first.second draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
268 $Source: dir1/dir2/test.file $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
269
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
270
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
271 Archiving ...
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
272
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
273 $ hg kwarchive --path-filter=full --user-filter=full _archive
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
274
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
275 ... check not expanded files for identity
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
276
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
277 $ cmp .hgkwarchive _archive/.hgkwarchive
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
278 $ cmp test2-not-expanded.txt _archive/test2-not-expanded.txt
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
279 $ cmp src/f1.txt _archive/src/f1.txt
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
280 $ cmp src/f2.txt _archive/src/f2.txt
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
281
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
282 .. check expanded files
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
283
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
284 $ cat _archive/VERSION
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
285 0.0.dev1
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
286 54f2f8d67c3781f41d8bebd01cd19ddb86f41574
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
287 $ cat _archive/README
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
288 .. -*- coding: utf-8 -*-
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
289 (?)
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
290 (?)
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
291 Testing the kwarchive extension
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
292 ===============================
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
293 (?)
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
294 :Author: Franz Glasner
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
295 :When: $Date: 1970-01-01 00:00:00 +0000 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
296 :Date: 1970-01-01
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
297 :ID: @(#) $HGheader: https://theuser:thepass@hg.example.com:4443/repo.hg/README 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
298 (?)
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
299 $ cat _archive/src/f1.py
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
300 # -*- coding: utf-8 -*-
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
301 # f1.py
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
302 # @(#) $HGheader: https://theuser:thepass@hg.example.com:4443/repo.hg/src/f1.py 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
303 # $HGnodeid: d1aadfd82662afe0cb942b8ff3bc39112c5bb2cd $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
304 #
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
305 __revision__ = "$Revision: 54f2f8d67c37 $"
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
306 __author__ = "Franz Glasner"
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
307 (?)
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
308 $ cat _archive/src/f2.py
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
309 # -*- coding: utf-8 -*-
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
310 # f2.py
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
311 # @(#) $HGheader: https://theuser:thepass@hg.example.com:4443/repo.hg/src/f2.py 54f2f8d67c3781f41d8bebd01cd19ddb86f41574 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
312 # $HGnodeid: 8cee1e6f9d9a53eb720ab3b1dddd025db992bc76 $
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
313 #
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
314 __revision__ = "$Revision: 54f2f8d67c37 $"
250
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
315 __author__ = "Franz Glasner"
9a3dacfc3be6 Mercurial unit-tests for the "kwarchive" extension
Franz Glasner <hg@dom66.de>
parents:
diff changeset
316 (?)
288
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
317
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
318 $ cd ..
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
319
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
320 Archiving with subrepos
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
321
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
322 $ prepare_repo "repo2"
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
323 $ cd "repo2"
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
324 $ prepare_subrepo "subrepo1"
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
325 $ echo `pwd`
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
326 $TESTTMP/repo2
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
327 $ cat .hgsubstate
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
328 ^[a-f0-9]+\s+subrepo1$ (re)
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
329
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
330 ... archiving subrepos does expand correctly configured subrepos also
288
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
331
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
332 $ hg kwarchive -S --path-filter=full --user-filter=full _archive
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
333 $ cat _archive/subrepo1/test2.txt
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
334 test2.txt: This is a file with some replacement tests
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
335 ^$ (re)
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
336 $HGheader: subrepo1/test2.txt fb36e107ea3bc98cfabecbed9f4292777533cdbf 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
337 $HGnodeid: a6d464aee6d2eee611b33b6ab88de136fc9eadf6 $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
338 $Date: 1970-01-01 00:00:00 +0000 $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
339 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
340 $HGrevision: fb36e107ea3bc98cfabecbed9f4292777533cdbf $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
341 $Revision: fb36e107ea3b $
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
342 $Author: First+Second+<first.second@example.com> $
288
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
343 ^$ (re)
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
344 $MySubstKeyword: This is a custom replacement $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
345 This is a custom replacement
288
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
346
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
347 ... but simply configuring it in the parent within the "patterns" yields
288
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
348 ... an error
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
349
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
350 $ cat >.hgkwarchive <<EOF
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
351 > [patterns]
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
352 > subrepo1/** = RCS, reST
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
353 > src/**.py = RCS, reST
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
354 > path:VERSION = reST
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
355 > path:README = RCS, reST
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
356 > path:test2.txt = RCS, reST
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
357 > subrepo1/** = RCS, reST
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
358 > [keywords]
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
359 > JustDate =
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
360 > HGheader =
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
361 > HGnodeid =
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
362 > Date =
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
363 > Revision =
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
364 > HGrevision =
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
365 > Author =
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
366 > MyFullRevision = HGrevision
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
367 > MySubstKeyword = replace:: This is a custom replacement
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
368 > EOF
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
369 $ hg commit -m "New kwarchive configuration"
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
370 $ hg kwarchive -S --path-filter=full --user-filter=full _archive2
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
371 abort: path 'subrepo1/**' is inside nested repo 'subrepo1'
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
372 [255]
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
373
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
374 $ cd ..
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
375
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
376 Archiving with nested subrepos
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
377
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
378 $ prepare_repo "repo3"
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
379 $ cd "repo3"
289
986d1472580c Setup of a repo "repo3" with nested subrepos is done
Franz Glasner <hg@dom66.de>
parents: 288
diff changeset
380 $ prepare_subrepo "subrepo1" "subrepos1"
288
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
381 $ echo `pwd`
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
382 $TESTTMP/repo3
0080dab59fac Begin tests with subrepos and some preparations for nested subrepos
Franz Glasner <hg@dom66.de>
parents: 250
diff changeset
383 $ cat .hgsubstate
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
384 fb36e107ea3bc98cfabecbed9f4292777533cdbf subrepos1/subrepo1
289
986d1472580c Setup of a repo "repo3" with nested subrepos is done
Franz Glasner <hg@dom66.de>
parents: 288
diff changeset
385 $ cd subrepos1/subrepo1
986d1472580c Setup of a repo "repo3" with nested subrepos is done
Franz Glasner <hg@dom66.de>
parents: 288
diff changeset
386 $ prepare_subrepo "subrepo2" "subrepos2"
986d1472580c Setup of a repo "repo3" with nested subrepos is done
Franz Glasner <hg@dom66.de>
parents: 288
diff changeset
387 $ echo `pwd`
986d1472580c Setup of a repo "repo3" with nested subrepos is done
Franz Glasner <hg@dom66.de>
parents: 288
diff changeset
388 $TESTTMP/repo3/subrepos1/subrepo1
986d1472580c Setup of a repo "repo3" with nested subrepos is done
Franz Glasner <hg@dom66.de>
parents: 288
diff changeset
389 $ cat .hgsubstate
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
390 fb36e107ea3bc98cfabecbed9f4292777533cdbf subrepos2/subrepo2
289
986d1472580c Setup of a repo "repo3" with nested subrepos is done
Franz Glasner <hg@dom66.de>
parents: 288
diff changeset
391 $ cd ../..
986d1472580c Setup of a repo "repo3" with nested subrepos is done
Franz Glasner <hg@dom66.de>
parents: 288
diff changeset
392 $ hg ci -m 'Include the nested subrepo'
986d1472580c Setup of a repo "repo3" with nested subrepos is done
Franz Glasner <hg@dom66.de>
parents: 288
diff changeset
393 $ cat .hgsubstate
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
394 ea2a4310dad4d276467e2c342f8bc54d4e6a74a7 subrepos1/subrepo1
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
395
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
396 $ hg kwprint -S
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
397 $Author: first.second $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
398 $Date: 1970-01-01 00:00:00 +0000 $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
399 $HGbookmarks: $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
400 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
401 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
402 $HGlatesttagdistance: 5 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
403 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
404 $HGlatesttags: null $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
405 $HGpath: hg+https://hg/repo.hg $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
406 $HGrepoid: 32ee1d210af8d5434587ac0b0494e90d69bbfce8 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
407 $HGrevision: 959ffd1bae463906774177568fdf853416cb5ca2 $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
408 $HGshortdate: 1970-01-01 $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
409 $HGtags: $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
410 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
411 $Revision: 959ffd1bae46 $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
412 $State: draft $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
413 ^$ (re)
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
414 $File: test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
415 $HGheader: hg+https://hg/repo.hg/dir1/dir2/test.file 959ffd1bae463906774177568fdf853416cb5ca2 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
416 $HGid: hg+https://hg/repo.hg/dir1/dir2/test.file 959ffd1bae46 1970-01-01 00:00:00 +0000 first.second draft $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
417 $HGnodeid: a4dd6f4b22e11fec41158eec187630c24a43120a $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
418 $HGsource: hg+https://hg/repo.hg/dir1/dir2/test.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
419 $Header: dir1/dir2/test.file 959ffd1bae46 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
420 $Id: test.file 959ffd1bae46 1970-01-01 00:00:00 +0000 first.second draft $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
421 $Source: dir1/dir2/test.file $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
422 ^$ (re)
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
423 ^$ (re)
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
424 $Author: first.second $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
425 $Date: 1970-01-01 00:00:00 +0000 $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
426 $HGbookmarks: $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
427 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
428 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
429 $HGlatesttagdistance: 4 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
430 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
431 $HGlatesttags: null $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
432 $HGpath: file:///subrepo1 $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
433 $HGrepoid: 934bf0defe66f2b1b5d46777f115e53f34a96016 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
434 $HGrevision: ea2a4310dad4d276467e2c342f8bc54d4e6a74a7 $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
435 $HGshortdate: 1970-01-01 $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
436 $HGtags: $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
437 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
438 $Revision: ea2a4310dad4 $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
439 $State: draft $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
440 ^$ (re)
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
441 $File: test-s.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
442 $HGheader: file:///subrepo1/dir3/dir4/test-s.file ea2a4310dad4d276467e2c342f8bc54d4e6a74a7 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
443 $HGid: file:///subrepo1/dir3/dir4/test-s.file ea2a4310dad4 1970-01-01 00:00:00 +0000 first.second draft $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
444 $HGnodeid: ffffffff22e11fec41158eec187630c24a43120a $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
445 $HGsource: file:///subrepo1/dir3/dir4/test-s.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
446 $Header: dir3/dir4/test-s.file ea2a4310dad4 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
447 $Id: test-s.file ea2a4310dad4 1970-01-01 00:00:00 +0000 first.second draft $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
448 $Source: dir3/dir4/test-s.file $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
449 ^$ (re)
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
450 ^$ (re)
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
451 $Author: first.second $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
452 $Date: 1970-01-01 00:00:00 +0000 $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
453 $HGbookmarks: $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
454 $HGbranch: default $
300
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
455 $HGlatesttagdate: 1970-01-01 00:00:00 +0000 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
456 $HGlatesttagdistance: 3 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
457 $HGlatesttagjustdate: 1970-01-01 $
56df37d7878e Keywords HGlatesttags, HGlatesttagdistance, HGlatesttagdate and HGlatesttagjustdate
Franz Glasner <hg@dom66.de>
parents: 298
diff changeset
458 $HGlatesttags: null $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
459 $HGpath: file:///subrepo2 $
322
950a9bd55d7e Expand "HGrepoid" as Mercurial's repository id (id of the first commit)
Franz Glasner <fzglas.hg@dom66.de>
parents: 321
diff changeset
460 $HGrepoid: 934bf0defe66f2b1b5d46777f115e53f34a96016 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
461 $HGrevision: fb36e107ea3bc98cfabecbed9f4292777533cdbf $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
462 $HGshortdate: 1970-01-01 $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
463 $HGtags: $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
464 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
465 $Revision: fb36e107ea3b $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
466 $State: draft $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
467 ^$ (re)
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
468 $File: test-s.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
469 $HGheader: file:///subrepo2/dir3/dir4/test-s.file fb36e107ea3bc98cfabecbed9f4292777533cdbf 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
470 $HGid: file:///subrepo2/dir3/dir4/test-s.file fb36e107ea3b 1970-01-01 00:00:00 +0000 first.second draft $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
471 $HGnodeid: ffffffff22e11fec41158eec187630c24a43120a $
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
472 $HGsource: file:///subrepo2/dir3/dir4/test-s.file $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
473 $Header: dir3/dir4/test-s.file fb36e107ea3b 1970-01-01 00:00:00 +0000 first.second draft $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
474 $Id: test-s.file fb36e107ea3b 1970-01-01 00:00:00 +0000 first.second draft $
295
eeb8c52d8802 The "hg kwprint" command now is fully aware of subrepos if used with the "-S" flag
Franz Glasner <hg@dom66.de>
parents: 289
diff changeset
475 $Source: dir3/dir4/test-s.file $
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
476
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
477 $ hg kwarchive -S --user-filter=full --path-filter=full _archive
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
478 $ cat _archive/VERSION
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
479 0.0.dev1
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
480 959ffd1bae463906774177568fdf853416cb5ca2
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
481 $ cat _archive/test2.txt
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
482 This is a file with some replacement tests
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
483 ^$ (re)
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
484 $HGheader: https://theuser:thepass@hg.example.com:4443/repo.hg/test2.txt 959ffd1bae463906774177568fdf853416cb5ca2 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
485 $HGnodeid: 070aa91690d7b1f757fdc373fe61c03c5b28e0b0 $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
486 $Date: 1970-01-01 00:00:00 +0000 $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
487 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
488 $HGrevision: 959ffd1bae463906774177568fdf853416cb5ca2 $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
489 $Revision: 959ffd1bae46 $
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
490 $Author: First+Second+<first.second@example.com> $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
491 ^$ (re)
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
492 $MySubstKeyword: This is a custom replacement $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
493 This is a custom replacement
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
494 $ cat _archive/subrepos1/subrepo1/VERSION
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
495 0.0.dev1
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
496 ea2a4310dad4d276467e2c342f8bc54d4e6a74a7
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
497 $ cat _archive/subrepos1/subrepo1/test2.txt
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
498 test2.txt: This is a file with some replacement tests
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
499 ^$ (re)
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
500 $HGheader: file:///subrepo1/test2.txt ea2a4310dad4d276467e2c342f8bc54d4e6a74a7 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
501 $HGnodeid: a6d464aee6d2eee611b33b6ab88de136fc9eadf6 $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
502 $Date: 1970-01-01 00:00:00 +0000 $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
503 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
504 $HGrevision: ea2a4310dad4d276467e2c342f8bc54d4e6a74a7 $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
505 $Revision: ea2a4310dad4 $
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
506 $Author: First+Second+<first.second@example.com> $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
507 ^$ (re)
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
508 $MySubstKeyword: This is a custom replacement $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
509 This is a custom replacement
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
510 $ cat _archive/subrepos1/subrepo1/subrepos2/subrepo2/VERSION
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
511 0.0.dev1
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
512 fb36e107ea3bc98cfabecbed9f4292777533cdbf
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
513 $ cat _archive/subrepos1/subrepo1/subrepos2/subrepo2/test2.txt
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
514 test2.txt: This is a file with some replacement tests
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
515 ^$ (re)
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
516 $HGheader: file:///subrepo2/test2.txt fb36e107ea3bc98cfabecbed9f4292777533cdbf 1970-01-01 00:00:00 +0000 First+Second+<first.second@example.com> draft $
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
517 $HGnodeid: a6d464aee6d2eee611b33b6ab88de136fc9eadf6 $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
518 $Date: 1970-01-01 00:00:00 +0000 $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
519 $JustDate: 1970-01-01 $
321
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
520 $HGrevision: fb36e107ea3bc98cfabecbed9f4292777533cdbf $
103df4b7a0c8 A new more flexible syntax for custom keyword expansion: with Python template format syntax now
Franz Glasner <fzglas.hg@dom66.de>
parents: 300
diff changeset
521 $Revision: fb36e107ea3b $
298
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
522 $Author: First+Second+<first.second@example.com> $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
523 ^$ (re)
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
524 $MySubstKeyword: This is a custom replacement $
aa945541d2ca kwarchive: fully implements recursing into Mercurial subrepos and do keyword expansion there also
Franz Glasner <hg@dom66.de>
parents: 297
diff changeset
525 This is a custom replacement