2012-05-02 8 views

答えて

1

あなたのリポジトリのhooks/pre-lock.tmplをご覧ください。私の場合は、ロックコメントが4番目のパラメータであることを示す次の情報が含まれています:

# PRE-LOCK HOOK 
# 
# The pre-lock hook is invoked before an exclusive lock is 
# created. Subversion runs this hook by invoking a program 
# (script, executable, binary, etc.) named 'pre-lock' (for which 
# this file is a template), with the following ordered arguments: 
# 
# [1] REPOS-PATH (the path to this repository) 
# [2] PATH   (the path in the repository about to be locked) 
# [3] USER   (the user creating the lock) 
# [4] COMMENT  (the comment of the lock) 
# [5] STEAL-LOCK (1 if the user is trying to steal the lock, else 0) 

... 
+0

はいそうです。ありがとう!私は、O'ReillyのSubversionでVersion Controlの第2版を参照として使用していました。最初の3つのパラメータのみを表示しています。私はこれがかなり新しいと思います。 – lamcro

関連する問題