templates/map-raw
author Vadim Gelfer <vadim.gelfer@gmail.com>
Mon, 08 May 2006 10:59:58 -0700
changeset 2221 05b6c13f43c6
parent 2094 c067ee483d2e
child 2520 e30f425a4b2c
child 2534 d5a3cc6520d5
permissions -rw-r--r--
reverse sense of return value from python hooks. old scheme (False/None/0/'' == fail) made coding style unnatural, did not allow use of mercurial commands as hooks. new scheme (False/None/0 == pass) is pythonic, does not require peculiar "return True" at ends of hooks, allows hooks like this: [hooks] # update working dir after push into this repo changegroup.update = python:mercurial.commands.update

header = header-raw.tmpl
footer = ''
changeset = changeset-raw.tmpl
difflineplus = '#line#'
difflineminus = '#line#'
difflineat = '#line#'
diffline = '#line#'
changesetparent = '# parent: #node#'
changesetchild = '# child: #node#'
filenodelink = ''
filerevision = 'Content-Type: #mimetype#\nContent-Disposition: filename=#file#\n\n#raw#'
fileline = '#line#'
diffblock = '#lines#'
filediff = filediff-raw.tmpl
fileannotate = fileannotate-raw.tmpl
annotateline = '#author#@#rev#: #line#'