Sat, 29 Aug 2009 00:29:16 +0200 extensions: load and configure extensions in well-defined phases
Martin Geisler <mg@lazybytes.net> [Sat, 29 Aug 2009 00:29:16 +0200] rev 9410
extensions: load and configure extensions in well-defined phases Extensions are now loaded with a call-graph like this: dispatch._dispatch extensions.loadall extensions.load # add foo module to extensions._extensions extensions.load # add bar module to extensions._extensions foo.uisetup(ui) bar.uisetup(ui) foo.extsetup() bar.extsetup() commands.table.update(foo.cmdtable) commands.table.update(bar.cmdtable) hg.repository foo.reposetup(ui, repo) bar.reposetup(ui, repo) The uisetup calls could easily be moved out to dispatch._dispatch, but have been kept in extensions.loadall since at least TortoiseHg calls extensions.loadall and expects it to call uisetup. The extensions.load function called uisetup. It now has an unused ui argument which has been kept for backwards compatibility.
Fri, 28 Aug 2009 22:14:04 +0200 highlight: move code from module top-level into extsetup
Martin Geisler <mg@lazybytes.net> [Fri, 28 Aug 2009 22:14:04 +0200] rev 9409
highlight: move code from module top-level into extsetup
Fri, 28 Aug 2009 20:53:03 +0200 run-tests: standardize on --foo instead of -f/--foo
Martin Geisler <mg@lazybytes.net> [Fri, 28 Aug 2009 20:53:03 +0200] rev 9408
run-tests: standardize on --foo instead of -f/--foo We write -f/--foo in Mercurial help texts (docstrings), but I think it looks strange in error messages.
Fri, 28 Aug 2009 20:50:54 +0200 run-tests: use parser.error for cmdline option errors
Martin Geisler <mg@lazybytes.net> [Fri, 28 Aug 2009 20:50:54 +0200] rev 9407
run-tests: use parser.error for cmdline option errors
Fri, 28 Aug 2009 20:28:06 +0200 doc/README: rst2man is now in Docutils proper
Martin Geisler <mg@lazybytes.net> [Fri, 28 Aug 2009 20:28:06 +0200] rev 9406
doc/README: rst2man is now in Docutils proper
Thu, 20 Aug 2009 23:35:46 +0200 doc/Makefile: detect the right name for rst2man and rst2html
Mads Kiilerich <mads@kiilerich.com> [Thu, 20 Aug 2009 23:35:46 +0200] rev 9405
doc/Makefile: detect the right name for rst2man and rst2html docutils uses the .py extension on the commands, and so do their installer. Distribution packages might strip the .py, but the official name should work too.
(0) -3000 -1000 -300 -100 -30 -10 -6 +6 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip