equal
deleted
inserted
replaced
30 Caveat: "hg import" fails if the patch context contains an active |
30 Caveat: "hg import" fails if the patch context contains an active |
31 keyword. In that case run "hg kwshrink", and then reimport. |
31 keyword. In that case run "hg kwshrink", and then reimport. |
32 Or, better, use bundle/unbundle to share changes. |
32 Or, better, use bundle/unbundle to share changes. |
33 kwdemo print [keywordmaps] configuration and an expansion example |
33 kwdemo print [keywordmaps] configuration and an expansion example |
34 kwexpand expand keywords in working directory |
34 kwexpand expand keywords in working directory |
|
35 kwfiles print files currently configured for keyword expansion |
35 kwshrink revert expanded keywords in working directory |
36 kwshrink revert expanded keywords in working directory |
36 % hg kwdemo |
37 % hg kwdemo |
37 [extensions] |
38 [extensions] |
38 hgext.keyword = |
39 hgext.keyword = |
39 [keyword] |
40 [keyword] |
112 expand $Id: c,v 6a127771f5db 1970/01/01 00:00:01 user $ |
113 expand $Id: c,v 6a127771f5db 1970/01/01 00:00:01 user $ |
113 do not process $Id: |
114 do not process $Id: |
114 xxx $ |
115 xxx $ |
115 % touch copied c |
116 % touch copied c |
116 % status |
117 % status |
|
118 % kwfiles |
|
119 a |
|
120 c |
117 % diff --rev |
121 % diff --rev |
118 diff -r 7f0665a496fd c |
122 diff -r 7f0665a496fd c |
119 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
123 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
120 @@ -0,0 +1,3 @@ |
124 @@ -0,0 +1,3 @@ |
121 +expand $Id: c,v 6a127771f5db 1970/01/01 00:00:01 user $ |
125 +expand $Id: c,v 6a127771f5db 1970/01/01 00:00:01 user $ |