gitをインストールしてsubversionと連携
注意:下記、まったくのメモの為、まだ完全ではありません。
(もう一度なぞって、ちゃんと動作したら書き直します)
■ソースを取得
下記URLから対象のソースをwget
perl
http://www.cpan.org/src/README.html
svn
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=260&folderID=0
git
http://kernel.org/pub/software/scm/git/
neon
http://www.webdav.org/neon/
sqlite-amalgamation
http://www.sqlite.org/download.html
■インストール
[perl] $ cd perl-5.12.0 $ sh Configure -de -Dprefix=$HOME/modules/perl-5.12.0 2> c.err | tee c.log $ make 2> m.err | tee m.log $ make test $ make install
[svn] $ cd ../subversion-1.6.11 $ tar zxf ~/arc/neon-0.29.3.tar.gz && ln -s neon-0.29.3 neon $ ( mkdir sqlite-amalgam && cd sqlite-amalgamation && unzip ~/arc/sqlite-amalgamation-3_6_23_1.zip ) $ ./configure --prefix=$HOME/modules/subversion-1.6.11 2> c.err | tee c.log // Perl がインストールしたものを向いていることを確認 $ make 2> m.err | tee m.log $ make swig-pl $ make check-swig-pl $ make install-swig-pl $ make check 2> mc.err | tee mc.log $ make install
[git] $ cd ../git-1.7.0.5 $ make prefix=$HOME/modules/git-1.7.0.5 install PERL_PATH=$HOME/local/bin/perl 2> m.err | tee m.log $ cp git-svn ~/modules/git-1.7.0.5/bin
全部入ってコマンドが使えるようになったら
git svn clone -s http://svn.hogehoge/project ←svnのリポジトリURL ※配下にtrunk,branches,tagsがあるパスを指定