rm unused cp func
call it "hg cmd" not "python hg"
git cmd implementation