[PATCH RFC STABLE?] dirstate: catch non-32-bit-safe mtime and file size early (issue2608)

Greg Ward greg at gerg.ca
Wed Mar 21 21:04:09 CDT 2012


On 21 March 2012, To mercurial-devel at selenic.com said:
> # HG changeset patch
> # User Greg Ward <greg at gerg.ca>
> # Date 1329327653 18000
> # Branch stable
> # Node ID 354794e7bf7fd4713bd5f46ce9770c7ae1b4f7ad
> # Parent  9670e0c88deee8dcfe45ddb3010696928b835fec
> dirstate: catch non-32-bit-safe mtime and file size early (issue2608).
[...]
> diff --git a/tests/gpg/trustdb.gpg b/tests/gpg/trustdb.gpg
> index 4008cdab6dbf5976ed84e1bd48fd954edd0bd6df..826f03e0e42de51482d52fc6fc87e9eababd9589
> GIT binary patch
> literal 1280
> zc${NQFGy!*W at Ke#VqoykDzRh04j8#`NT7pJb))Jq)X5Eyy`$=eojM+dhSR^3+@~`O
> xY&Gq*Tcpdm+)w4>CpL(rJVG5W17G+x=V>!}{~YYC+iiDPMtj+*xJot*^8j}D7cBq)

Uh... ignore the change to trustdb.gpg. Not sure how it got into the
patch. I blame the test suite, which I was running around the time I
qpush'ed and emailed this patch.

Also, I just discovered this breaks at least one test. Probably lots
more. Argh. Anyways, just looking for comments about the idea.

        Greg
-- 
Greg Ward                                http://www.gerg.ca/
One man's theology is another man's belly laugh.


More information about the Mercurial-devel mailing list