Mercurial > hg-stable
diff contrib/debugshell.py @ 15390:fffe49886a51 stable
util: allow sha1() with no args
Normally this works because we replace util.sha1 with hashlib.sha1
after first use, but if the first user doesn't provide an arg, it
breaks.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 31 Oct 2011 14:22:11 -0500 |
parents | 6b7b99867ada |
children | 3bc675361206 |