Mercurial > public > mercurial-scm > hg
annotate mercurial/templates/map-cmdline.bisect @ 27102:f97bb61b51e6 stable
localrepo.commit: check all files for resolve state (issue4972)
Previously we were only checking modified files for their resolve state. But a
file might be unresolved yet not in the modified state. Handle all such cases
properly.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 30 Nov 2015 16:31:28 -0800 |
parents | 7c324f65e4ef |
children | f4aeb952ab77 |
rev | line source |
---|---|
25007
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
1 %include map-cmdline.default |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
2 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
3 changeset = '{cset}{lbisect}{branches}{bookmarks}{tags}{parents}{user}{ldate}{summary}\n' |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
4 changeset_quiet = '{lshortbisect} {rev}:{node|short}\n' |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
5 changeset_verbose = '{cset}{lbisect}{branches}{bookmarks}{tags}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n' |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
6 changeset_debug = '{fullcset}{lbisect}{branches}{bookmarks}{tags}{lphase}{parents}{manifest}{user}{ldate}{lfile_mods}{lfile_adds}{lfile_dels}{lfile_copies_switch}{extras}{description}\n' |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
7 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
8 # We take the zeroth word in order to omit "(implicit)" in the label |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
9 bisectlabel = ' bisect.{word('0', bisect)}' |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
10 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
11 lbisect ='{label("log.bisect{if(bisect, bisectlabel)}", |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
12 "bisect: {bisect}\n")}' |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
13 lshortbisect ='{label("log.bisect{if(bisect, bisectlabel)}", |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Guti?rrez Hermoso <jordigh@octave.org>
parents:
15156
diff
changeset
|
14 "{bisect|shortbisect}")}' |