Fix sha1 support when no binary dependencies available

(0) -300 -100 -30 -10 -1 +1 tip

mercurial