subversion
subversion を導入しようかなーと思い
>porteasy -i subversion Can't find required port 'subversion', maybe you mean: subversion-1.1.1 subversion-python-1.1.1 subversion-perl-1.1.1 some required ports were not found.
やれやれ…
>porteasy -i subversion-1.1.1 +--- Description for devel/subversion (subversion-1.1.1): | Subversion is a version control system designed to be as similar to cvs(1) | as possible, while fixing many outstanding problems with cvs(1). | | WWW: http://subversion.tigris.org/ +---
これがいわゆる subversion なんだろうな。で次。
>porteasy -i subversion-python-1.1.1 +--- Description for devel/subversion-python (subversion-python-1.1.1): | Subversion is a version control system designed to be as similar to cvs(1) | as possible, while fixing many outstanding problems with cvs(1). | | This slave port adds Python bindings to Subversion. | | WWW: http://subversion.tigris.org/ +---
bindings ね。わかりました。って、甘かった。 subversion はもともと言語 bindings を念頭に入れてたのか。なるほど。次に確認。
>porteasy -l devel/subversion converters/libiconv (libiconv-1.9.2_1) databases/db42 (db42-4.2.52_3) databases/gdbm (gdbm-1.8.3_1) devel/apr-svn (apr-nothr-gdbm-db4-1.0.1_1) devel/autoconf259 (autoconf-2.59_2) devel/automake19 (automake-1.9.4) devel/gettext (gettext-0.14.1) devel/gmake (gmake-3.80_2) devel/libtool13 (libtool-1.3.5_2) devel/libtool15 (libtool-1.5.10) devel/m4 (m4-1.4.1) devel/p5-Locale-gettext (p5-gettext-1.03) * devel/subversion (subversion-1.1.1) lang/perl5.8 (perl-5.8.5) lang/python (python-2.4) misc/help2man (help2man-1.34.2) textproc/expat2 (expat-1.95.8) www/neon (neon-0.24.7)
autoconf, automake, apr-* か。 ところで www/neon って何?
>porteasy -i www/neon +--- Description for www/neon (neon-0.24.7): | Neon is an HTTP and WebDAV client library for Unix systems, with a C | interface. Featuring: | | . High-level interface to HTTP and WebDAV methods | (PUT, GET, HEAD etc) | . Low-level interface to HTTP request handling, to allow | implementing new methods easily. | . HTTP/1.1 and HTTP/1.0 persistent connections | . RFC2617 basic and digest authentication | (including auth-int, md5-sess) | . Proxy support (including basic/digest authentication) | . Generic WebDAV 207 XML response handling mechanism | . XML parsing using the expat or libxml parsers | . Easy generation of error messages from 207 error responses | . WebDAV resource manipulation: MOVE, COPY, DELETE, MKCOL | . WebDAV metadata support: set and remove properties, query | any set of properties (PROPPATCH/PROPFIND). | | WWW: http://www.webdav.org/neon/ +---
ふーん。こいつの依存関係はっと
devel/libtool13 (libtool-1.3.5_2) textproc/expat2 (expat-1.95.8) * www/neon (neon-0.24.7)
ふむふむ。インストールしてみるか。
>portinstall devel/subversion
インストールちう
:
:
出来た。
repository を作る
>svn create /path/to/repos
んで import したいディレクトリを以下の構成にしておく。
project/brances project/tags project/trunk project/trunk/controller project/trunk/controller/foo.cpp project/trunk/model project/trunk/model/model.cpp project/trunk/view project/trunk/view/view.h
repository に import しませう
>svn import /path/to/project file:///path/to/repos -m "initial import"
workin-copy を手に入れる
>svn checkout file:///path/to/repos/trunk project
編集は好きにやって "svn commit" とか。この辺り bluegate.org - このウェブサイトは販売用です! - bluegate リソースおよび情報 を参考に してます。
URL指定は面倒くさい。何か手があるはずだ