[PATCH] tests: add script to disable a selected wire protocol capability

Frank Kingswood frank at kingswood-consulting.co.uk
Thu Apr 28 13:47:15 CDT 2011


On 25/04/11 16:21, Steven Brown wrote:
> # HG changeset patch
> # User Steven Brown<StevenGBrown at gmail.com>
> # Date 1303725630 -28800
> # Node ID 0256aaae61cb1e13a7157ac8e5617932433d7de4
> # Parent  bb391e0515ba7de5e49cdd77e95633cb5abbe5b7
> tests: add script to disable a selected wire protocol capability
>
> This can be used to test that the client and server both fall back to the
> previous wire protocol when the capability is not supported.
>
> It is currently used by test-push-http.t and I plan to use it for the HTTP
> long argument support tests.
>
> diff -r bb391e0515ba -r 0256aaae61cb tests/notcapable
> --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/notcapable	Mon Apr 25 18:00:30 2011 +0800
> @@ -0,0 +1,19 @@
> +# Disable the $CAP wire protocol capability.

Shebang missing here. Some people actually use csh, the sad fools.

Frank



More information about the Mercurial-devel mailing list