D7848: hashutil: new package for hashing-related features

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Jan 14 11:18:33 EST 2020


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 __future__ import absolute_import
     import hashlib
     
     try:
    -    from mercurial.thirdparty import sha1dc
    +    from ..thirdparty import sha1dc
         sha1 = sha1dc.sha1
     except (ImportError, AttributeError):
         sha1 = hashlib.sha1

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7848/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7848

To: durin42, #hg-reviewers, indygreg
Cc: pulkit, indygreg, mercurial-devel


More information about the Mercurial-devel mailing list