Mercurial > hg
annotate mercurial/templates/map-cmdline.compact @ 33251:a5cb2e4460de
transaction: track new obsmarkers in the 'changes' mapping
The obsstore collaborate with transaction to make sure we track all the
obsmarkers added during a transaction. This will be useful for various usages:
hooks, caches, better output, etc.
This is the seconds kind of data added to tr.changes (first one was added revisions)
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 27 Jun 2017 02:45:09 +0200 |
parents | 1e184241de51 |
children | f4aeb952ab77 |
rev | line source |
---|---|
28827
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
1 ldate = '{label("log.date", |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
2 "{date|isodate}")}' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
3 |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
4 ldesc = '{label('ui.note log.description', |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
5 '{desc|strip}')}' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
6 ldescfirst = '{label('ui.note log.description', |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
7 '{desc|firstline|strip}')}' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
8 |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
9 changeset = '{lrev}{tags}{bookmarks}{parents} {lnode} {ldate} {luser}\n {ldescfirst}\n\n' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
10 changeset_quiet = '{lrev}:{lnode}\n' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
11 changeset_verbose = '{lrev}{tags}{parents} {lnode} {ldate} {lauthor}\n {ldesc}\n\n' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
12 lrev = '{label("log.changeset changeset.{phase}", |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
13 "{rev}")}' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
14 lnode = '{label("log.node", |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
15 "{node|short}")}' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
16 lauthor = '{label("log.user", |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
17 "{author}")}' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
18 luser = '{label("log.user", |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
19 "{author|user}")}' |
1908
be71c04d62c0
print tags in compact template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1907
diff
changeset
|
20 start_tags = '[' |
28827
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
21 tag = '{label("log.tag", |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
22 "{tag},")}' |
1908
be71c04d62c0
print tags in compact template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1907
diff
changeset
|
23 last_tag = '{tag}]' |
1907
7718885070b1
let commands that show changesets use templates.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
24 start_parents = ':' |
28827
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
25 parent = '{lrev},' |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
26 last_parent = '{lrev}' |
13933
3d83c7d70a98
compact style: show bookmarks in the same manner as tags
Augie Fackler <durin42@gmail.com>
parents:
9999
diff
changeset
|
27 start_bookmarks = '[' |
28827
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
28 bookmark = '{label("log.bookmark", |
1e184241de51
compact: add color labels to -Tcompact
timeless <timeless@mozdev.org>
parents:
13933
diff
changeset
|
29 "{bookmark},")}' |
13933
3d83c7d70a98
compact style: show bookmarks in the same manner as tags
Augie Fackler <durin42@gmail.com>
parents:
9999
diff
changeset
|
30 last_bookmark = '{bookmark}]' |