Thomas Arendsen Hein <thomas@intevation.de> [Tue, 21 Mar 2006 11:47:21 +0100] rev 1981
make incoming work via ssh (issue139); move chunk code into separate module.
Incoming ssh needs to detect the end of the changegroup, otherwise it would
block trying to read from the ssh pipe. This is done by parsing the
changegroup chunks.
bundlerepo.getchunk() already is identical to
localrepo.addchangegroup.getchunk(), which is followed by getgroup which
looks much like what you can re-use in bundlerepository.__init__() and in
write_bundle(). bundlerevlog.__init__.genchunk() looks very similar, too,
as do some while loops in localrepo.py.
Applied patch from Benoit Boissinot to move duplicate/related code
to mercurial/changegroup.py and use this to fix incoming ssh.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 21 Mar 2006 06:03:33 +0100] rev 1980
use HG10UN header for uncompressed bundle
- use HG10UN instead of HG11 for uncompressed bundles header
- check HG10BZ for compressed bundle
- better error handling for invalid header
some notes:
- people who created uncompressed bundle will no longer be
able to use them (it could be fixed with hand-editing)
- older hg cannot detect an uncompressed bundle
(bzip2 decompression will fail).
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 20 Mar 2006 17:14:58 +0100] rev 1979
More detailed documentation about ssh:// URLs; fixes issue170.
TK Soh <teekaysoh@yahoo.com> [Mon, 20 Mar 2006 08:46:29 +0100] rev 1978
do proper typecasting on malloc() and calloc() calls
to support build on Solaris 2.6 using Sun Pro SC4.0 (C++ 4.1) compiler.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Mar 2006 21:26:58 +0100] rev 1977
Don't forget version at the end of setup.py, write it only if changed.
This fixes issue159: "python setup.py install" shouldn't write new files
in the working dir if one has done "python setup.py build" first.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Mar 2006 14:53:58 +0100] rev 1976
Enable path validation for copy, rename, debugwalk and other canonpath users.
This fixed the last bit of issue134.
Added some tests to test-rename and test-walk.
Shun-ichi Goto <shunichi.goto@gmail.com> [Sat, 18 Mar 2006 09:51:25 -0800] rev 1975
Duplicate cache when creating templater.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 18 Mar 2006 14:36:45 +0100] rev 1974
Delete bundle file of hg incoming in case of errors, preserve existing files.
Let write_bundle always create the bundle file, check if target doesn't exist
and delete it in case of errors.
This way incoming only has to delete the bundle file if it was meant to
be a temporary file.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 18 Mar 2006 11:24:19 +0100] rev 1973
Cleaned up the code path for bundle handling in hg incoming, updated comments.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 18 Mar 2006 10:45:21 +0100] rev 1972
Documented behaviour of write_bundle regarding file handles.