[issue27593] Deprecate sys._mercurial and create sys._git
Brett Cannon
report at bugs.python.org
Sat Mar 4 12:30:13 EST 2017
Brett Cannon added the comment:
git actually does not always shorten to 7 characters. In git 2.11 (I think) they shorten to the shortest length to guarantee uniqueness. So `git rev-parse --short HEAD` gives a hash of de04644627 which is 10 characters.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27593>
_______________________________________
More information about the Python-bugs-list
mailing list