Thomas Arendsen Hein <thomas@intevation.de> [Wed, 11 Oct 2006 20:53:02 +0200] rev 3361
templater: Better exception for errors in foo%bar formatting.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 12 Oct 2006 11:40:26 +0200] rev 3360
nodesbetween: fix a bug with duplicate heads
Brendan Cully <brendan@kublai.com> [Wed, 11 Oct 2006 16:56:41 -0700] rev 3359
hgweb: trap lookup errors
Brendan Cully <brendan@kublai.com> [Wed, 11 Oct 2006 16:50:17 -0700] rev 3358
Add better error message for bad commands
Brendan Cully <brendan@kublai.com> [Wed, 11 Oct 2006 16:49:53 -0700] rev 3357
gitweb: Add error text to error page
Brendan Cully <brendan@kublai.com> [Wed, 11 Oct 2006 16:39:42 -0700] rev 3356
gitweb: fix link on file name in filenodelink
Brendan Cully <brendan@kublai.com> [Wed, 11 Oct 2006 16:32:06 -0700] rev 3355
gitweb: fix last change field in summary
Brendan Cully <brendan@kublai.com> [Wed, 11 Oct 2006 16:20:35 -0700] rev 3354
Merge with main
Matt Mackall <mpm@selenic.com> [Wed, 11 Oct 2006 17:37:48 -0500] rev 3353
Merge with crew
Matt Mackall <mpm@selenic.com> [Wed, 11 Oct 2006 15:52:08 -0500] rev 3352
make manifest-merging test reproduceable
Giorgos Keramidas <keramida@ceid.upatras.gr> [Tue, 10 Oct 2006 21:03:24 +0300] rev 3351
Revert changeset c67920d78248.
It breaks 'hg merge && hg up -c REV' when files exist only in one of the
manifests, making hg throw a traceback like:
Brendan Cully <brendan@kublai.com> [Wed, 11 Oct 2006 16:19:11 -0700] rev 3350
gitweb: add file diff view
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 11 Oct 2006 23:31:05 +0200] rev 3349
merge with crew
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3348
update ui.quiet/verbose/debug/interactive every time the config changes
- ui.quiet/verbose/debug/interactive become just a cache of the ui.cdata
settings
- the quiet, verbose, debug and interactive options from the [ui] section
from .hg/hgrc files are respected for commands that open the repo
- setting ui.quiet/verbose/debug/interactive with --config works
- the command line options always override the hgrc settings - previously
it wasn't possible to override a [ui] debug = True. --debug still
takes precedence over --quiet and --verbose.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3347
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)
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3346
call ui.updateopts only after changing directories
This corrects --config paths.foo=bar when it's used with --cwd
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3345
ui.py: normalize settings every time the configuration changes
Previously, we would normalize settings (e.g. turn relative paths into
absolute ones) only after reading a config file.
Now "--config paths.foo=bar" will use the cwd to make "bar" an absolute
path.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3344
move the parsing of --config options to commands.py
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3343
ui.py: use the overlay to hold --config data
This allows the ui class to know that these items have a higher priority
without further help from commands.py.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3342
ui.py: change the overlay from a dict to a SafeConfigParser.
This also fixes what's probably a bug - configitems was ignoring the overlay.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3341
ui.py: don't query parentui.cdata when looking up config items.
We copied the contents of parentui.cdata on initialization.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3340
ui.py: make walkconfig use configitems
Also make it sort the available config sections while we're at it.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3339
ui.py: move common code out of config and configbool
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3338
ui.py: remove revlogopts and (unused) diffcache variables
This should make the [revlog] section in a .hg/hgrc file be respected
when there's still no changelog.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3337
ui.py: don't let parent and child ui objects share header and prev_header
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3336
ui.py: use correct parentui while copying readhooks
Brendan Cully <brendan@kublai.com> [Wed, 11 Oct 2006 13:56:35 -0700] rev 3335
changectx: search manifest delta for filenode
Brendan Cully <brendan@kublai.com> [Wed, 11 Oct 2006 13:34:12 -0700] rev 3334
context: check self.__dict__ instead of using hasattr
hasattr implicitly calls getattr, instantiating the field it is
checking for.