templates/raw/map
author Giorgos Keramidas <keramida@ceid.upatras.gr>
Thu, 11 Feb 2010 23:15:42 +0200
branchstable
changeset 10428 e553a425751d
parent 8429 4bf90ee588b9
child 9946 2059be77d4f8
permissions -rw-r--r--
convert: differentiate between IOError and OSError on commitctx() The IOError exception is overloaded to mean 'this file was deleted in the current commit'. Separate the code that handles IOError and file deletion from general OSError exceptions. The latter are real errors, but IOError is not always a throwable error. This solves the accidental marking of files as 'deleted' in commits that try to write for example in .hg/store/data revlogs that the current user has no permission to modify (a normal OSError that should abort the current commit). Changed by pmezard: use getattr() to be on the safe side.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5928
3340aa5a64f7 hgweb: move HTTP content types out of header templates
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5890
diff changeset
     1
mimetype = 'text/plain; charset={encoding}'
3340aa5a64f7 hgweb: move HTTP content types out of header templates
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5890
diff changeset
     2
header = ''
1901
c64bef3d7043 use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 1694
diff changeset
     3
footer = ''
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3236
diff changeset
     4
changeset = changeset.tmpl
8429
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7166
diff changeset
     5
difflineplus = '{line}'
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7166
diff changeset
     6
difflineminus = '{line}'
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7166
diff changeset
     7
difflineat = '{line}'
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7166
diff changeset
     8
diffline = '{line}'
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7166
diff changeset
     9
changesetparent = '# Parent  {node}'
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7166
diff changeset
    10
changesetchild = '# Child   {node}'
1901
c64bef3d7043 use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 1694
diff changeset
    11
filenodelink = ''
8429
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7166
diff changeset
    12
fileline = '{line}'
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7166
diff changeset
    13
diffblock = '{lines}'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3236
diff changeset
    14
filediff = filediff.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3236
diff changeset
    15
fileannotate = fileannotate.tmpl
6967
a04d8cadb6af web: fix annotate raw template, forgotten in ccc2481e3954
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 6177
diff changeset
    16
annotateline = '{author|user}@{rev}: {line}'
3941
472d9670e6e9 hgweb: add raw manifest template
Brendan Cully <brendan@kublai.com>
parents: 3277
diff changeset
    17
manifest = manifest.tmpl
6177
673d8a6bc709 Renamed "manifest" to "files" in web templates.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 5928
diff changeset
    18
direntry = 'drwxr-xr-x {basename}\n'
673d8a6bc709 Renamed "manifest" to "files" in web templates.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 5928
diff changeset
    19
fileentry = '{permissions|permissions} {size} {basename}\n'
4024
de081fbb27fe hgweb: add raw template to hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 3941
diff changeset
    20
index = index.tmpl
5559
4fca1b181dd9 hgweb: flesh out raw templates
Bryan O'Sullivan <bos@serpentine.com>
parents: 4024
diff changeset
    21
notfound = notfound.tmpl
4fca1b181dd9 hgweb: flesh out raw templates
Bryan O'Sullivan <bos@serpentine.com>
parents: 4024
diff changeset
    22
error = error.tmpl
8429
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7166
diff changeset
    23
indexentry = '{url}\n'