Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 15:04:10 -0700] rev 2574
merge with mpm.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 15:03:34 -0700] rev 2573
fix problems with external module handling. found by benoit boissinot.
first fix is to not store module objects in commands.external dict,
instead use module names for key into sys.modules. this prevents circular
reference during cleanup of aborted transaction.
second is to get name right during import of external module.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 11:49:19 -0700] rev 2572
tests: record few more daemon pids to be safe
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 11:45:34 -0700] rev 2571
tests: add timeouts, make run-tests.py clean up dead daemon processes
test timeout feature is needed for test with python 2.5 beta. if test
does not complete in time (30 seconds is default), it is killed.
some times daemon process used in test can be alive after the test
is killed by user or by timeout. tests now record daemon pids into
$DAEMON_PIDS and run-tests.py kills all living daemons after every test.
final little change is to add newline to end of pid file printed by
"hg serve", else "cat hg.pid >> $DAEMON_FILES" gives garbage.
Vadim Gelfer <vadim.gelfer@gmail.com> [Thu, 06 Jul 2006 10:09:24 -0700] rev 2570
run-tests.py: make tests use same python interpreter as test harness.
this is wanted because some tests run python interpreter directly.
must use same python interpreter in tests as in main harness or problems
will happen because of e.g. different python abi if run-tests.py run
with python 2.5 but system python is 2.4.
fix is to see if system python is used and is named python. if no,
put symlink called python at front of shell search path.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Thu, 06 Jul 2006 03:14:55 -0300] rev 2569
HTTPS: fix python2.3, persistent connections, don't explode if SSL is not available
The urllib2 differences between python 2.3 and 2.4 are hidden by
using keepalive.py, which also gives us support for persistent
connections.
Support for HTTPS is enabled only if there's a HTTPSHandler class in
urllib2.
It's not possible to have separate classes as handlers for HTTP and
HTTPS: to support persistent HTTPS connections, we need a class that
inherits from both keepalive.HTTPHandler and urllib2.HTTPSHandler. If
we try to pass (an instance of) this class and (an instance of) the
httphandler class to urllib2.build_opener, this function ends up getting
confused, since both classes are subclasses of the HTTPHandler default
handler, and raises an exception.
Matt Mackall <mpm@selenic.com> [Thu, 06 Jul 2006 14:15:24 -0500] rev 2568
Fix annotate breakage
Matt Mackall <mpm@selenic.com> [Wed, 05 Jul 2006 13:28:25 -0500] rev 2567
Merge context patches
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:42:17 -0500] rev 2566
Convert hg annotate to context api
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:11:42 -0500] rev 2565
convert hg cat to new context api
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:08:10 -0500] rev 2564
Add context helper functions to localrepo
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:07:46 -0500] rev 2563
Add context.py: changeset and file revision contexts
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 17:06:56 -0500] rev 2562
simplify make_filename, fix hg cat bug
hg cat was using file-level rev/node ids for generating filename
templates. This simplifies make_filename to only use changeset
rev/node ids.
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 16:52:42 -0500] rev 2561
revlog: make lookup handle binary nodes
Matt Mackall <mpm@selenic.com> [Wed, 28 Jun 2006 15:49:33 -0500] rev 2560
revlog: handle integer arguments to lookup
Brendan Cully <brendan@kublai.com> [Tue, 04 Jul 2006 15:36:05 -0700] rev 2559
templater.firstline should handle empty strings
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 03 Jul 2006 00:33:19 -0300] rev 2558
hgweb: fix unbundle.
After the WSGI changes, even if a push over HTTP succeeds, apache
complains about "Premature end of script headers: hgwebdir.cgi" and
returns a "HTTP Error 500: Internal Server Error", making the local hg
abort.
The change to either of the files touched by this patch is enough to fix
this, but I think changing both is a more robust solution.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 03 Jul 2006 00:23:58 -0300] rev 2557
Fix push over https.
Without this patch, python gives me a
TypeError: write() argument 1 must be string or read-only buffer, not file
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 03 Jul 2006 00:23:56 -0300] rev 2556
Allow http://user@example.com URLs (i.e. without passwords)
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Sun, 02 Jul 2006 22:39:39 -0300] rev 2555
hg.py: move exception handling code to try to avoid hiding errors
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 03 Jul 2006 14:30:38 -0700] rev 2554
help: add help to mq extension
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 03 Jul 2006 14:30:24 -0700] rev 2553
help: make "hg help EXTENSION" work
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 03 Jul 2006 19:28:31 +0200] rev 2552
Adjusted test output to changed abort message of 'hg merge' (from
0229ff95faec)
Vadim Gelfer <vadim.gelfer@gmail.com> [Mon, 03 Jul 2006 10:19:09 -0700] rev 2551
merge with crew.