[PATCH] largefiles: Use sha1sum.py since OS X has generic shasum utility

Patrick Mézard pmezard at gmail.com
Mon Oct 24 14:51:52 CDT 2011


Le 24/10/11 20:15, Lee Cantey a écrit :
> # HG changeset patch
> # User Lee Cantey <lcantey at gmail.com>
> # Date 1319479837 25200
> # Branch stable
> # Node ID 17323a5ee76870b1b48e7308511c34c98825f35a
> # Parent  8b8dd13295dbd733cc03ebb3c2af2f33d24d5428
> largefiles: Use sha1sum.py since OS X has generic shasum utility.
> 
> Also switch to from echo -n to printf

I have not looked at the test purpose at all but if it is only to get a digest maybe we can use the existing md5sum.py ?

--
Patrick Mézard


More information about the Mercurial-devel mailing list