Trac:Subversion
Trac에서 Subversion을 사용하기 위한 방법을 정리한다.
Repository resync
버전 동기화는 아래와 같이 적용할 수 있다.
Subversion hook script
훅 스크립트를 사용하여 커밋 후 자동적으로 갱신되도록 해야할 경우 사용한다. SVN의 post-commit hook을 사용하면 된다.
Error post-commit hook failed
커밋시 아래와 같은 메시지가 출력된다.
이 경우 post-commit스크립트의 실행권한을 확인해 보길 바란다.
Troubleshooting
문제점 해결 방법에 대하여 정리한다.
Can't find an appropriate component
repository resync명령을 사용할 경우 아래와 같은 에러 메세지가 출력될 경우가 있다.
TracError: Unsupported version control system "svn": Can't find an appropriate component, maybe the corresponding plugin was not enabled?
이럴 경우 trac.ini에 아래와 같이 추가해야 한다.
No module named svn
repository resync명령을 사용할 경우 아래와 같은 에러 메세지가 출력될 경우가 있다.
이럴 경우 python-subversion을 설치해야 한다.