Author: peters
Date: Sun Dec  5 20:27:06 2010
New Revision: 1042434

URL: http://svn.apache.org/viewvc?rev=1042434&view=rev
Log:
Followup r872282: Update two hook script .tmpl files to be consistent
with their comments.  Reported by user "jon-san" on IRC.

* subversion/libsvn_repos/repos.c
  (create_hooks): Add two parameters COMMENT and STEAL to the example
   SVN_REPOS__HOOKS_PRE_LOCK text, and two parameters TOKEN and BREAK
   to the example SVN_REPOS__HOOKS_PRE_UNLOCK text.

Modified:
    subversion/trunk/subversion/libsvn_repos/repos.c

Modified: subversion/trunk/subversion/libsvn_repos/repos.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/repos.c?rev=1042434&r1=1042433&r2=1042434&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/repos.c (original)
+++ subversion/trunk/subversion/libsvn_repos/repos.c Sun Dec  5 20:27:06 2010
@@ -674,6 +674,8 @@ PREWRITTEN_HOOKS_TEXT
 "REPOS=\"$1\""                                                               NL
 "PATH=\"$2\""                                                                NL
 "USER=\"$3\""                                                                NL
+"COMMENT=\"$4\""                                                             NL
+"STEAL=\"$5\""                                                               NL
 ""                                                                           NL
 "# If a lock exists and is owned by a different person, don't allow it"      NL
 "# to be stolen (e.g., with 'svn lock --force ...')."                        NL
@@ -757,6 +759,8 @@ PREWRITTEN_HOOKS_TEXT
 "REPOS=\"$1\""                                                               NL
 "PATH=\"$2\""                                                                NL
 "USER=\"$3\""                                                                NL
+"TOKEN=\"$4\""                                                               NL
+"BREAK=\"$5\""                                                               NL
 ""                                                                           NL
 "# If a lock is owned by a different person, don't allow it be broken."      NL
 "# (Maybe this script could send email to the lock owner?)"                  NL


Reply via email to