Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 20 Oct 2008 10:15:26 +0200] rev 7180
hgweb: be sure to drain request data even in early error conditions
Thanks to Mads Kiilerich with noticing this. The hg client can only read data
after all the sent data has been read, so we have to read all the request data
even if we're not going to do anything with it (in error conditions). This
is not easy to fix in the client, because we're using Python's httplib, which
is strictly stateful. Abstracted the draining into a separate method.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Oct 2008 22:07:43 +0200] rev 7179
merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Oct 2008 19:49:56 +0200] rev 7178
Fix Debian bug #494889 (fetching from static-http://... broken)
Changeset 6605a03cbf87 which fixed issue965 (hg clone static-http
does not work for empty repos) broke cloning of repos with old layout
(without store) via static-http.
This fix makes cloning from old-style repositories possible again,
but will not allow cloning of empty old-style repositories as this
can not be detected reliably.
Mads Kiilerich <mads@kiilerich.com> [Sun, 19 Oct 2008 16:31:24 +0200] rev 7177
mq: Fix --qrefresh --short to work with --exclude and --include
pmezard expects
hg qref -s -X b
to apply the -X to the list of files in the patch, and thus remove b from the
patch.
That's how it worked before f7fc5f5ecd62. That change seemed sensible, but it
wasn't...
mpm says
(17:22:30) pmezard_: kiilerix1: do you mean that -X should be forbidden with -s ?
(17:22:54) pmezard_: kiilerix1: and --include too
(17:23:03) mpm: No because you should be able to say hg qref -s foo* -X foo-bar
so mpm expects
hg qref -s -X b *
to apply the -X to the list of files in the working directory, and thus don't
include b in the patch
This patch tries to make both usecases work by creating a matchfn which uses
the include/excludes but not the filelist.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 19 Oct 2008 20:29:41 +0200] rev 7176
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 19 Oct 2008 20:17:06 +0200] rev 7175
parsers.c: do not try to untrack after a failure
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 19 Oct 2008 20:16:37 +0200] rev 7174
parsers.c: fix integer overflows
thanks to zzuf for helping finding those
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Oct 2008 19:10:26 +0200] rev 7173
Merge with crew
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Oct 2008 19:03:23 +0200] rev 7172
Use dummy diffstat in tests and remove older diffstat workaround.
This makes test-notify pass on systems without diffstat installed
or where the diffstat version yields a different output.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Oct 2008 17:40:35 +0200] rev 7171
Fix test-bundle-type output by changing head|cut to cut|head.
With some versions of cut the output otherwise has no end of line.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Oct 2008 15:24:33 +0200] rev 7170
convert documentation: --config argument with spaces needs quoting.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 19 Oct 2008 15:08:30 +0200] rev 7169
Copy index before parsing to enforce alignment with inline data present.
Fixes issue1348 (Bus error in parsers.c) on Solaris/sparc.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 19 Oct 2008 16:11:23 +0200] rev 7168
parsers.c: there is no reference to data_obj, so it shouldn't be decref'ed
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 19 Oct 2008 13:00:36 +0200] rev 7167
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 19 Oct 2008 12:23:58 +0200] rev 7166
hgweb: nodeids should be aligned in raw changesets
If they aren't it breaks hg import --exact
Thanks to Jesper Noehr for noticing it.