equal
deleted
inserted
replaced
47 |
47 |
48 NOTE: the more specific you are in your filename patterns the less you |
48 NOTE: the more specific you are in your filename patterns the less you |
49 lose speed in huge repositories. |
49 lose speed in huge repositories. |
50 |
50 |
51 For [keywordmaps] template mapping and expansion demonstration and |
51 For [keywordmaps] template mapping and expansion demonstration and |
52 control run "hg kwdemo". |
52 control run "hg kwdemo". See "hg help templates" for a list of |
53 |
53 available templates and filters. |
54 An additional date template filter {date|utcdate} is provided. |
54 |
|
55 An additional date template filter {date|utcdate} is provided. It |
|
56 returns a date like "2006/09/18 15:13:13". |
55 |
57 |
56 The default template mappings (view with "hg kwdemo -d") can be |
58 The default template mappings (view with "hg kwdemo -d") can be |
57 replaced with customized keywords and templates. Again, run "hg |
59 replaced with customized keywords and templates. Again, run "hg |
58 kwdemo" to control the results of your config changes. |
60 kwdemo" to control the results of your config changes. |
59 |
61 |
278 |
280 |
279 Extend the current configuration by specifying maps as arguments |
281 Extend the current configuration by specifying maps as arguments |
280 and using -f/--rcfile to source an external hgrc file. |
282 and using -f/--rcfile to source an external hgrc file. |
281 |
283 |
282 Use -d/--default to disable current configuration. |
284 Use -d/--default to disable current configuration. |
|
285 |
|
286 See "hg help templates" for information on templates and filters. |
283 ''' |
287 ''' |
284 def demoitems(section, items): |
288 def demoitems(section, items): |
285 ui.write('[%s]\n' % section) |
289 ui.write('[%s]\n' % section) |
286 for k, v in items: |
290 for k, v in items: |
287 ui.write('%s = %s\n' % (k, v)) |
291 ui.write('%s = %s\n' % (k, v)) |