You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2012/09/26 18:19:46 UTC

[4/9] git commit: [#2809] Pass parameters to post-commit-user hook in SVN

[#2809] Pass parameters to post-commit-user hook in SVN

Signed-off-by: Cory Johns <jo...@geek.net>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/d80a1950
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/d80a1950
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/d80a1950

Branch: refs/heads/master
Commit: d80a195045265d5881e67a63dcfc311f51d24fdc
Parents: 6a72dbe
Author: Cory Johns <jo...@geek.net>
Authored: Fri Sep 21 14:10:17 2012 +0000
Committer: Dave Brondsema <db...@geek.net>
Committed: Wed Sep 26 16:18:58 2012 +0000

----------------------------------------------------------------------
 ForgeSVN/forgesvn/model/svn.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d80a1950/ForgeSVN/forgesvn/model/svn.py
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/model/svn.py b/ForgeSVN/forgesvn/model/svn.py
index ebb04f1..31f8231 100644
--- a/ForgeSVN/forgesvn/model/svn.py
+++ b/ForgeSVN/forgesvn/model/svn.py
@@ -94,7 +94,7 @@ class SVNImplementation(M.RepositoryImplementation):
         '\n'
         'DIR="$$(dirname "$${BASH_SOURCE[0]}")"\n'
         'if [ -x $$DIR/post-commit-user ]; then'
-        '  exec $$DIR/post-commit-user\n'
+        '  exec $$DIR/post-commit-user "$@"\n'
         'fi')
 
     def __init__(self, repo):