tear out initial conversion stuff from hg_git.py