Julian Cowley <julian@lava.net> [Wed, 09 Jun 2010 12:41:44 -1000] rev 11332
hgweb: specify a charset when sending raw text files
Gets the charset from encoding.encoding parameter.
Matt Mackall <mpm@selenic.com> [Wed, 09 Jun 2010 16:39:25 -0500] rev 11331
summary: report copies and renames
Chad Dombrova <chadrik@gmail.com> [Thu, 10 Jun 2010 09:32:19 -0700] rev 11330
provide pre- and post- hooks with parsed command line arguments.
python hooks are passed two new keyword arguments:
- opts: a dict of options; unsepcified options are set to their default
- pats: a list of arguments
shell hooks receive two new variables containing string representations
of the above data:
- $HG_OPTS
- $HG_PATS
for example, the opts and pats for 'hg -f v1.1' would be:
{'force': True, 'message': '', 'rev': '', 'user': '', 'date': '', 'local': None, 'remove': None, 'mq': None}
['v1.1']