라벨이 svn인 게시물 표시

svn commit error : no matching lock-token available

svn commit 을 시도할때 아래 처럼 lock 에러가 떨어지면.. svn: E160037: Cannot verify lock on path '/dev/VDI/etas_uploader/pom.xml'; no matching lock-token available --force 옵션으로 unlock 을 해준후 다시 commit 할수 있다. svn unlock --force  file_name 

TortoiseSVN Lock 기능 추가

(Linux 사용시 ) ~/subversion/config 파일에 아래 항목 추가 수정  (Window 사용시) C:\Users\USER_ID\AppData\Roaming\Subversion\config 파일에 아래 항목 추가 수정 [miscellany] enable-auto-props = yes [auto-props] * = svn:needs-lock=yes

Svn 주석 필수로만들기

subversion comment 를 강제 하는 방법 (Repository 설정 변경) cd ~Repository/hooks/ cp pre-commit.tmpl pre-commit chmod 755 pre-commit pre-commit 파일 수정 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 #!/bin/sh REPOS= "$1" TXN= "$2" SVNLOOK= /usr/bin/svnlook LOGMSG=$($SVNLOOK log -t "$TXN" "$REPOS" | grep [a-zA-Z0-9] | wc -c) if [ "$LOGMSG" -lt 5 ]; then /bin/echo -n "(Empty commit log) & (length(log) < 5) is NOT ALLOWED" 1>&2 exit 1 fi exit 0 comment 를 강제 하면 약간은 불편해도 이력관리에 도움이 된다.    꼭 하자.... 참고 사이트    http://junghun.com/xe/index.php?document_srl=5069&vid=textyle&mid=textyle