mercurial/templates/paper/branches.tmpl
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Mon, 05 May 2014 21:26:40 +0900
changeset 21241 244b177a152e
parent 19795 ac08ff370977
child 23829 70cfa7e1611b
permissions -rw-r--r--
cmdutil: omit redundant "savecommitmessage()" in "tryimportone()" The preceding patch causes that "makememctx()" with "editor" argument saves (manually edited) commit message into ".hg/last-message.txt": saving itself is executed indirectly in "memctx.__init__()". This makes it redundant to invoke "savecommitmessage()" on caller side of "makememctx()". This patch omits such redundant "savecommitmessage()" invocation in "tryimportone()". "tryimportone()" uses one of "commiteditor" or "commitforceeditor" as "editor" argument, and this causes saving commit message always.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     1
{header}
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     2
<title>{repo|escape}: branches</title>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     3
<link rel="alternate" type="application/atom+xml"
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
     4
   href="{url|urlescape}atom-branches" title="Atom feed for {repo|escape}: branches" />
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     5
<link rel="alternate" type="application/rss+xml"
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
     6
   href="{url|urlescape}rss-branches" title="RSS feed for {repo|escape}: branches" />
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     7
</head>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     8
<body>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
     9
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    10
<div class="container">
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    11
<div class="menu">
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    12
<div class="logo">
13964
616ad3f6fd33 hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents: 13597
diff changeset
    13
<a href="{logourl}">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    14
<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a>
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    15
</div>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    16
<ul>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    17
<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    18
<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    19
<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    20
<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    21
<li class="active">branches</li>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    22
</ul>
12846
4b334f8c941b templates: fix inconsistency in 'help' link
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 9999
diff changeset
    23
<ul>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    24
 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
12846
4b334f8c941b templates: fix inconsistency in 'help' link
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 9999
diff changeset
    25
</ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 18045
diff changeset
    26
<p>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 18045
diff changeset
    27
<div class="atom-logo">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    28
<a href="{url|urlescape}atom-branches" title="subscribe to atom feed">
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    29
<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed">
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 18045
diff changeset
    30
</a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 18045
diff changeset
    31
</div>
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    32
</div>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    33
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    34
<div class="main">
18258
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
    35
<h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    36
<h3>branches</h3>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    37
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    38
<form class="search" action="{url|urlescape}log">
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    39
{sessionvars%hiddenformentry}
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    40
<p><input name="rev" id="search1" type="text" size="30" /></p>
19795
ac08ff370977 paper: define searchhint message in map file and use it in other templates
Alexander Plavin <alexander@plav.in>
parents: 19451
diff changeset
    41
<div id="hint">{searchhint}</div>
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    42
</form>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    43
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    44
<table class="bigtable">
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    45
<tr>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    46
 <th>branch</th>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    47
 <th>node</th>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    48
</tr>
19451
aad410749ff3 hgweb: make stripes in branch list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19417
diff changeset
    49
<tbody class="stripes2">
19417
78d1e1029aa4 hgweb: get rid of branchentry template duplication
Alexander Plavin <me@aplavin.ru>
parents: 18526
diff changeset
    50
{entries % branchentry}
19451
aad410749ff3 hgweb: make stripes in branch list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19417
diff changeset
    51
</tbody>
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    52
</table>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    53
</div>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    54
</div>
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    55
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
diff changeset
    56
{footer}