LoginSignup
0
0

More than 5 years have passed since last update.

Mac OS X 10.8でSubversionリポジトリをMercurialのリポジトリに変換する

Posted at

準備

SubversionとPythonのsubversion bindingをインストール

Homebrewで--pythonオプション付きでSubversionをインストールする。このオプションがないとPythonのsubversion bindingがインストールされないので変換できない。

すでに--pythonオプション無しでSubversionをインストール済みであればアンインストールしてからインストールし直す。

brew install --python subversion
sudo sh -c 'echo /usr/local/lib/svn-python > /Library/Python/2.7/site-packages/subversion.pth'

convert拡張を利用可能にする

~/.hgrcに以下の内容を追加

[extensions]
hgext.convert =

変換の実行

hg convert リポジトリURL
hg update

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0