«前の日記(2009-01-24(Sat)) 最新 次の日記(2009-01-31(Sat))» 編集

これ日記なん?


2009-01-25(Sun) [長年日記]

_ bzr-svn

初期化

$ sudo apt-get install bzr-svn
$ bzr init-repo --rich-root-pack redmine
$ cd redmine

チェックアウト(ログ全部持ってきます...)

redmine$ bzr co http://redmine.rubyforge.org/svn/branches/0.8-stable redmine-0.8

ローカル用にブランチつくる、コミットする

redmine$ bzr branch 0.8-stable 08install
redmine$ cd 08install
08install$ vi ....
....
08install$ bzr commit -m "hogehogehoge"

本家から持ってくる(これは本家が更新されたら試す)

08install$ cd ../0.8-stable
0.8-stable$ bzr update
0.8-stable$ cd ../08install
08install$ bzr merge ../0.8-stable
08install$ bzr commit -m "Complete comment for SVN commit"

手元のサイズ

redmine$ du -h --max-depth=2
20M     ./.bzr/repository
4.0K    ./.bzr/branch-lock
20M     ./.bzr
1004K   ./0.8-stable/lang
8.0K    ./0.8-stable/log
468K    ./0.8-stable/.bzr
76K     ./0.8-stable/script
88K     ./0.8-stable/doc
76K     ./0.8-stable/config
8.0K    ./0.8-stable/files
2.3M    ./0.8-stable/vendor
152K    ./0.8-stable/extra
16K     ./0.8-stable/tmp
1.3M    ./0.8-stable/public
692K    ./0.8-stable/lib
428K    ./0.8-stable/db
928K    ./0.8-stable/test
1.8M    ./0.8-stable/app
9.2M    ./0.8-stable
1004K   ./08install/lang
8.0K    ./08install/log
468K    ./08install/.bzr
76K     ./08install/script
88K     ./08install/doc
76K     ./08install/config
8.0K    ./08install/files
2.3M    ./08install/vendor
152K    ./08install/extra
16K     ./08install/tmp
1.3M    ./08install/public
692K    ./08install/lib
428K    ./08install/db
928K    ./08install/test
1.8M    ./08install/app
9.2M    ./08install
38M     .