annotate templates/filelog.tmpl @ 3347:25d270e0b27f

ui.py: untangle updateopts The code in ui.updateopts that handles ui.quiet, ui.verbose and ui.debugflag is too smart, making it somewhat hard to see what are the exact constraints placed on the values of these variables, hiding some buglets. This patch makes these constraints more explicit, fixing these buglets and changing the behaviour slightly. It also adds a test to make sure things work as expected in the future. The buglets: - setting ui.debug = True in a hgrc wouldn't turn on verbose mode - additionally, setting ui.quiet = True or using --quiet would give you a "quiet debug" mode. The behaviour change: - previously, in a hgrc file, ui.quiet wins against ui.verbose (i.e. the final result would be quiet mode), but --verbose wins against --quiet - now ui.quiet nullifies ui.verbose and --verbose nullifies --quiet. As a consequence, using -qv always gives you normal mode (unless debug mode was turned on somewhere)
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 10 Oct 2006 18:43:20 -0300
parents 46188b9528ca
children ce8f31e0b3b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents: 138
diff changeset
1 #header#
1650
f2ebd5251e88 changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames
Peter van Dijk <peter@dataloss.nl>
parents: 1433
diff changeset
2 <title>#repo|escape#: #file|escape# history</title>
661
148f642d1f8e Add rss tag in the changelog/filelog html template.
kreijack@inwind.REMOVEME.it
parents: 599
diff changeset
3 <link rel="alternate" type="application/rss+xml"
3264
d1aa83f199ef Update templates to use NewWebInterface
Brendan Cully <brendan@kublai.com>
parents: 3206
diff changeset
4 href="#url#rss-log/tip/#file|urlescape#" title="RSS feed for #repo|escape#:#file#">
661
148f642d1f8e Add rss tag in the changelog/filelog html template.
kreijack@inwind.REMOVEME.it
parents: 599
diff changeset
5 </head>
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents: 138
diff changeset
6 </head>
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
7 <body>
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
8
154
1d5f799ebe1e fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents: 153
diff changeset
9 <div class="buttons">
3272
46188b9528ca Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents: 3264
diff changeset
10 <a href="#url#log{getentries}">changelog</a>
46188b9528ca Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents: 3264
diff changeset
11 <a href="#url#shortlog{getentries}">shortlog</a>
46188b9528ca Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents: 3264
diff changeset
12 <a href="#url#tags{getentries}">tags</a>
46188b9528ca Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents: 3264
diff changeset
13 <a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a>
46188b9528ca Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents: 3264
diff changeset
14 <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a>
3264
d1aa83f199ef Update templates to use NewWebInterface
Brendan Cully <brendan@kublai.com>
parents: 3206
diff changeset
15 <a type="application/rss+xml" href="#url#rss-log/tip/#file|urlescape#">rss</a>
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents: 138
diff changeset
16 </div>
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
17
1650
f2ebd5251e88 changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames
Peter van Dijk <peter@dataloss.nl>
parents: 1433
diff changeset
18 <h2>#file|escape# revision history</h2>
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
19
978
ea67e5b37043 hgweb: Changed file revision page to list format syntax
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 661
diff changeset
20 #entries%filelogentry#
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
21
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents: 138
diff changeset
22 #footer#