Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-simple-update.out @ 1907:7718885070b1
let commands that show changesets use templates.
mechanism is same as hgweb templates.
old show_changeset code is still used for now if no template given,
because it is faster than template code when verbose or debug.
simple template can be given on command line using -t, --template.
example:
hg log -t '{author|person}\n'
complex template can be put in template map file, given on command line
using --map-file.
we give two example map files:
map-log.compact prints 3 lines of output for every change.
map-log.verbose prints exact same output as default "hg log -v".
map files are searched where user says, then in template path as backup.
example:
hg log --map-file map-log.compact
defaults can be set in hgrc with ui.logtemplate and ui.logmap.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Mon, 27 Feb 2006 13:18:57 -0800 |
parents | 5a034646e472 |
children | 3053fc33f545 |
rev | line source |
---|---|
767
61ed30e82b27
Update tests to match new addremove chattiness.
Bryan O'Sullivan <bos@serpentine.com>
parents:
749
diff
changeset
|
1 adding foo |
331 | 2 checking changesets |
3 checking manifests | |
4 crosschecking files in changesets and manifests | |
5 checking files | |
6 1 files, 1 changesets, 1 total revisions | |
404 | 7 pulling from ../branch |
331 | 8 searching for changes |
9 adding changesets | |
10 adding manifests | |
775 | 11 adding file changes |
12 added 1 changesets with 1 changes to 1 files | |
404 | 13 (run 'hg update' to get a working copy) |
331 | 14 checking changesets |
15 checking manifests | |
16 crosschecking files in changesets and manifests | |
17 checking files | |
18 1 files, 2 changesets, 2 total revisions | |
19 foo | |
20 bar | |
21 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo |