D7848: hashutil: new package for hashing-related features

2020-01-14 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Absorbing the following into this patch to make `test-check-module-imports.t` happy. diff --git a/mercurial/utils/hashutil.py b/mercurial/utils/hashutil.py --- a/mercurial/utils/hashutil.py +++ b/mercurial/utils/hashutil.py @@ -3,7 +3,7 @@ from

D7848: hashutil: new package for hashing-related features

2020-01-13 Thread durin42 (Augie Fackler)
Closed by commit rHG0803f803ba03: hashutil: new package for hashing-related features (authored by durin42). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7848?vs=19189=19199

D7848: hashutil: new package for hashing-related features

2020-01-13 Thread indygreg (Gregory Szorc)
This revision is now accepted and ready to land. indygreg added a comment. indygreg accepted this revision. I'm not keen on a new module just for 6 lines. But whatever. REPOSITORY rHG Mercurial BRANCH default CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7848/new/

D7848: hashutil: new package for hashing-related features

2020-01-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Right now this just tries to use our sha1dc and if it's missing (eg a --pure build) we fall back to hashlib. I imagine in the future we'll want some other