git/contrib/hg-to-git
Hervé Beraud d17ae00c97 hg-to-git: make it compatible with both python3 and python2
Python 2 is EOL at the end of 2019, many distros and systems now
come with python 3 as their default version.

Rewrite features used in hg-to-git that are no longer supported in
Python 3, in such a way that an updated code can still be usable
with Python 2:

 - print is not a statement; use print() function instead.
 - dict.has_key(key) is no more; use "key in dict" instead.

Signed-off-by: Hervé Beraud <herveberaud.pro@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-09-18 12:03:05 -07:00
..
hg-to-git.py hg-to-git: make it compatible with both python3 and python2 2019-09-18 12:03:05 -07:00
hg-to-git.txt Add hg-to-git conversion utility. 2007-02-05 13:52:45 -08:00