[PATCH] largefiles: Use sha1sum.py since OS X has generic shasum utility
Greg Ward
greg-hg at gerg.ca
Tue Oct 25 21:28:02 UTC 2011
On Tue, Oct 25, 2011 at 11:51 AM, Matt Mackall <mpm at selenic.com> wrote:
> As far as I'm aware, we only need one hash function for tests and it
> needn't be cryptographically strong. I'll change the largefiles test to
> use the existing md5sum.py.
I don't like that for largefiles. It's important to to test that the
content of .hglf/largefile is the SHA-1 hash of largefile. That is
kinda of the core contract of the whole extension.
Greg
More information about the Mercurial-devel
mailing list