私はこのSO postから命令を試してみました:git checkout HEAD
を行うときHg-to-Gitツールの使い方 - fast-export?
cd ~
git clone git://repo.or.cz/fast-export.git
git init git_repo
cd git_repo
~/fast-export/hg-fast-export.sh -r /path/to/old/mercurial_repo
git checkout HEAD
は、しかし、それはスロー:
error: pathspec 'HEAD' did not match any file(s) known to git
を回避策このためには何ですか?
更新:
Error: No --marks option given
行う場合:
C:\fast-export\hg-fast-export.py -r C:\path\to\repo
を
私はまだそれが動作しませんインポートしようとすると、エラーがある水銀・パイソンのhowenをインストールするために管理しました
'〜/ fast-export/hg-fast-export.sh -r/path/to/old/mercurial_repo'コマンドでエラーが発生しましたか?あなたのGitリポジトリにコミットがないように思えます。 – Chris
@Chris My HgリポジトリにはGitにエクスポートする必要のあるコミットがたくさんあります。 – xybrek
@Chris、oh hg-fast-export.pyを代わりに実行しようとするとエラーが1つ表示されます:mercurialというモジュールはありません – xybrek