hgext: replace references to hashlib.sha1 with hashutil.sha1
When in a non-pure build of Mercurial, this will provide protections against SHA1 collision attacks. Differential Revision: https://phab.mercurial-scm.org/D7851
Showing
- hgext/fastannotate/context.py 5 additions, 3 deletionshgext/fastannotate/context.py
- hgext/fsmonitor/__init__.py 5 additions, 3 deletionshgext/fsmonitor/__init__.py
- hgext/infinitepush/store.py 5 additions, 3 deletionshgext/infinitepush/store.py
- hgext/largefiles/lfcommands.py 2 additions, 2 deletionshgext/largefiles/lfcommands.py
- hgext/largefiles/lfutil.py 3 additions, 3 deletionshgext/largefiles/lfutil.py
- hgext/remotefilelog/basepack.py 2 additions, 2 deletionshgext/remotefilelog/basepack.py
- hgext/remotefilelog/basestore.py 3 additions, 3 deletionshgext/remotefilelog/basestore.py
- hgext/remotefilelog/debugcommands.py 3 additions, 3 deletionshgext/remotefilelog/debugcommands.py
- hgext/remotefilelog/fileserverclient.py 6 additions, 4 deletionshgext/remotefilelog/fileserverclient.py
- hgext/remotefilelog/historypack.py 4 additions, 4 deletionshgext/remotefilelog/historypack.py
- hgext/remotefilelog/shallowutil.py 3 additions, 3 deletionshgext/remotefilelog/shallowutil.py
- hgext/sqlitestore.py 7 additions, 5 deletionshgext/sqlitestore.py
Loading
Please register or sign in to comment