Thomas Arendsen Hein <thomas@intevation.de> [Wed, 29 Jun 2011 15:00:00 +0200] rev 14764
classes: fix class style problems found by
b071cd58af50
This makes test-wireprotocol.py work on Python 2.4
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 29 Jun 2011 13:45:51 +0200] rev 14763
check-code: fix class style checking (with tests)
- old-style classes were only checked for one-letter class names
- add check for new-style classes with empty parent class, because
this is not available in Python 2.4
Mads Kiilerich <mads@kiilerich.com> [Wed, 29 Jun 2011 00:19:27 +0200] rev 14762
tests: ignore inotify extension in test-duplicateoptions.py
The inotify extension is only available on linux and setup.py will not install
it on other platforms - but it will of course always be there in the source.
test-duplicateoptions.py tried to load most extensions (including inotify if
available). When the local uninstalled Mercurial was used it would thus always
load the inotify extension and cause a warning on unsupported platforms.
The inotify extension is not relevant for this test, so now we explicitly
ignore it.
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Sat, 25 Jun 2011 02:30:17 +0200] rev 14761
error: Add a hint argument to RepoError
This use the same mechanism than Abort. Except clause stay distinct
because RepoError add "!" at the end of the message.
Adrian Buehlmann <adrian@cadifra.com> [Tue, 28 Jun 2011 00:56:33 +0200] rev 14760
test-revert: add revert --all case when nothing changed
supposed to succeed without notice
Matt Mackall <mpm@selenic.com> [Mon, 27 Jun 2011 16:39:02 -0500] rev 14759
merge with stable
Danek Duvall <duvall@comfychair.org> [Mon, 27 Jun 2011 11:36:42 -0700] rev 14758
color: be silent when falling back to ECMA-48 mode if "auto" mode was desired
Don't warn about missing setab/setaf terminfo entries unless we explicitly
asked for terminfo mode; fallback to ECMA-48 mode silently.
Danek Duvall <duvall@comfychair.org> [Mon, 27 Jun 2011 11:36:40 -0700] rev 14757
tests: hardcode terminfo entry for the terminfo color test
For the terminfo color test, make sure that the terminfo entry used is one
of our own choosing, by delivering a special "hgterm" entry (a copy of
ncurses' xterm-color), compiling it, and specifically pointing curses to it
using the TERMINFO and TERM environment variables. This means we can
ignore the variability in different terminal definitions on different
platforms.
Wagner Bruna <wbruna@yahoo.com> [Sun, 26 Jun 2011 15:47:39 -0300] rev 14756
localrepo: mark progress step for translation
Adrian Buehlmann <adrian@cadifra.com> [Sun, 26 Jun 2011 01:13:30 +0200] rev 14755
revert: improve hints on abort when reverting to parent without --all
BEFORE:
$ hg revert
abort: no files or directories specified
(use --all to discard all changes)
AFTER:
Uncommitted changes (using --all *will* nuke edits):
$ hg revert
abort: no files or directories specified
(uncommitted changes, use --all to discard all changes)
Clean working directory (using --all won't discard anything):
$ hg revert
abort: no files or directories specified
(use --all to revert all files)
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:44:59 +0300] rev 14754
dispatch: set config options on the request repo.ui
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:44:59 +0300] rev 14753
dispatch: return read config options
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:44:58 +0300] rev 14752
dispatch: set global options on the request repo.ui
If the request has a repo, and global options such as --verbose are passed,
we need to set those explicitly on the repo.ui.
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:44:17 +0300] rev 14751
cmdserver: assign repo.baseui before running commands
There are places in the code that use localrepository.baseui (see hg.remoteui),
we need the ui descriptors (and possibly other things) to be set
correctly on it, so output written to the remoteui descriptors ends up at the
right place.
Before this change, tests such as 'test-bookmarks-pushpull.t' didn't work.
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:43:59 +0300] rev 14750
cmdserver: copy repo.ui before running commands
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14749
filemerge: use ui out descriptor when calling util.system
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 12:16:14 +0300] rev 14748
dispatch: make sure unspecified global ui options don't override old values
Matt Mackall <mpm@selenic.com> [Mon, 27 Jun 2011 11:19:27 -0500] rev 14747
merge with stable
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Sat, 25 Jun 2011 02:30:24 +0200] rev 14746
requirements: show all missing features in the error message.
Displaying all missing featureis help people to solve the issue (choosing the
right version, creation the right repo)
Adrian Buehlmann <adrian@cadifra.com> [Fri, 24 Jun 2011 23:29:51 +0200] rev 14745
test-revert: add case for nothing changed
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:38:28 +0300] rev 14744
dispatch: set descriptors on the request repo.ui
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:36:44 +0300] rev 14743
dispatch: pass the correct ui to runcommand
For commands that take a repo, repo.ui is passed as the ui to runcommand.
This restores that behaviour when the request has a repo.
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14742
archive: wrap the ui descriptor so it doesn't get closed
archival.tarit closes the fileobj if one is passed to it, which is undesired
when reading from '-'.
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:27:53 +0300] rev 14741
transplant: use ui out descriptor when calling util.system
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14740
bisect: use ui out descriptor when calling util.system
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14739
extdiff: use ui out descriptor when calling util.system
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14738
ui: use ui out descriptor when calling util.system
David Golub [Fri, 24 Jun 2011 11:39:12 -0400] rev 14737
call reposetup for repositories returned from peer (
issue2864)
Extension setup functions were not being called when repositories were
obtained using the peer function instead of the repository function.
Mads Kiilerich <mads@kiilerich.com> [Sat, 25 Jun 2011 01:55:16 +0200] rev 14736
tests: solaris [ doesn't know -e
Mads Kiilerich <mads@kiilerich.com> [Sat, 25 Jun 2011 01:55:15 +0200] rev 14735
convert: fix git convert on solaris - it cannot remove environment variables