subversion

[トップ][一覧][最近の更新]


http://subversion.tigris.org/
http://subversion.bluegate.org/

google:subversion
googlej:subversion


cvs便

使便使

pw:subversion+viewcvs



commitOut of date
.cvsignore
.subversion/config
cvs add -kb binfile

chmod a+x


auto-props

cvs




commitOut of date


mvcprm
svn upcommitok
使

.cvsignore

svn propedit svn:ignore . --editor-cmd vim

(*使)
svn:ignoreok

.subversion/config

[miscellany]
log-encoding = euc-jp
enable-auto-props = yes
[auto-props]
* = svn:keywords=Id Date Author Rev URL

log-encoding = euc-jpeuc-jputf-8
localeascii/utf-8
enable-auto-props = yes* = svn:keywords=Id Date Author Rev URLcvs
add/import
cvssubversionadd/import()
cvs
svn propdel svn:keywords binfile.tgz

svn proplist binfile.tgz
svn:key
words

cvs add -kb binfile

svn add --no-auto-props binfile.tgz

svn co file:///home/svn/repos/リポジトリ名


svn co svn+ssh://サーバ名/home/svn/repos/リポジトリ名

tagsbranchestrunktrunk
svn co file:///home/svn/repos/リポジトリ名/trunk チェックアウト後のディレクトリ名


svn co svn+ssh://サーバ名/home/svn/repos/リポジトリ名/trunk ディレクトリ名

chmod a+x


chmod a+x
svn propset svn:executable 1 hoge.sh

chmod a-x
svn propdel svn:executable hoge.sh

(
TARGET=新しいリポジトリディレクトリ名
umask 002
svnadmin create --fs-type fsfs /home/svn/repos/$TARGET
echo -n '#!/bin/sh
REPOS="$1"
REV="$2"
cd /home/svn/viewcvs
./svndbadmin rebuild "$REPOS" "$REV"
' > /home/svn/repos/$TARGET/hooks/post-commit
chmod 775 /home/svn/repos/$TARGET/hooks/post-commit
cd /home/svn/viewcvs
./svndbadmin rebuild /home/svn/repos/$TARGET
)

fsfsgroup writableviewcvsmysqlmysql

umask 002g+w
svnadminsvng+w
fsfsbdbext2, 3使reiserfsxfs
post-commitviewcvsmysqlumasksvnadmin
commitpost-commit


$REPOSfile:///home/svn/repos
REPOS=test
cd /home/svn/repos/$REPOS/hooks
cp pre-revprop-change.tmpl pre-revprop-change
chmod a+x pre-revprop-change
svn propset \
  --encoding=euc-jp \
  --revprop -r リビジョン番号 \
  svn:log '新しいコミットログ' \
  file:///home/svn/repos/$REPOS
rm pre-revprop-change

propset.subversion/configlog-encoding--encoding=euc-jp

auto-props



.subversion/config 
[auto-props]
○ *.txt = svn:keywords=Id
× *.txt = svn:keywords="Id"                # 「"」が付いてしまう
× *.txt = svn:keywords Id                  # 「svn:keywords Id」という名前
○ Makefile = svn:keywords=Id Date Author
× Makefile = svn:keywords="Id Date Author" # 「"Id」「Date」「Author"」の三つ


○ $ svn propset svn:keywords Id hoge.txt
○ $ svn propset svn:keywords "Id" hoge.txt
○ $ svn propset svn:keywords "Id Date Author" Makefile
× $ svn propset svn:keywords Id Date Author Makefile


~/.subversion
svn help



/
cd消したファイルを復活させたいディレクトリ
svn cp -r まだ該当ファイルが存在していた頃のリビジョン \
svn+ssh://サーバ名/home/svn/repos/リポジトリ名/消したファイルのpath .

cvs


cvs updatesvn status
svn status.svn
svn update.svn
svn statuscommitsvn update

utf-8utf-8()
localelocaleutf-8
locale--encoding~/.subversion/config使
utf-8svn loglocale
localeutf-8uri?lvjless
viewcvs

cvs/
cvs


使

add,cp,mkdir,rmsvn

note

rename
()
move
(使)
modify
()
fix
()
correct
(typo)
separate,merge

tmp
(swap)
save
()

最終更新 : 2008/02/22 03:50:19 JST