ツール:mercurial

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
ツール:mercurial [2020/07/02 19:29] – [pip からのインストール] mumeiyamibitoツール:mercurial [2020/10/12 10:17] (現在) mumeiyamibito
行 365: 行 365:
  
   * 詳しくは [[https://www.mercurial-scm.org/wiki/JapaneseUsingExtensions | JapaneseUsingExtensions - Mercurial]]   * 詳しくは [[https://www.mercurial-scm.org/wiki/JapaneseUsingExtensions | JapaneseUsingExtensions - Mercurial]]
 +
 +==== リポジトリを git リポジトリに変換する ====
 +  - 変換プログラムをダウンロードする。\\ <code bash>
 +$ git clone http://repo.or.cz/r/fast-export.git fast-export
 +</code>
 +  - 転送先の git リポジトリ (空) ''NEW_GIT_REPO'' を作成する。\\ <code bash>
 +$ mkdir NEW_GIT_REPO
 +$ cd NEW_GIT_REPO
 +$ git init 
 +</code>
 +  - 変換する。\\ <code bash>
 +$ ../fast-export/hg-fast-export.sh -r HG_REPO_PATH
 +</code>
 +    * ''HG_REPO_PATH'': 変換したい mercurial のリポジトリパス
 +  * 参考サイト: [[http://var.blog.jp/archives/81872068.html | mercurial リポジトリを git に移行する]]
 +
  
 ===== Tips ===== ===== Tips =====
  • ツール/mercurial.1593685789.txt.gz
  • 最終更新: 2020/07/02 19:29
  • by mumeiyamibito