mercurial largefiles のエラー
自分メモ。
mercurial リポジトリに largefile なファイルを追加してを Push しようとしたら、
HTTP error: 500 (repository requires features unknown to this Mercurial: largefiles)
と怒られた。
なんでだ?とかれこれ調べること1時間。
/opt/bin/hg lfconvert --size 10 元リポジトリディレクトリ 先リポジトリディレクトリ
という感じで、ラージファイルに合わせてコンバートをするのを忘れていた。
ついでに、ユーザーディレクトリにエクステンションの設定も書いておくこと。
Windowsならmercurial.iniでlinuxやBSDなら.hgrc
[extensions] largefiles =
github や bitbacket を使うのも良いのだけど、自宅にリポジトリサーバーがあったほうが応答も早いのでやっぱ便利というか、快適。