Hi,

First thing I would check is that all the arguments going to svnlook are what 
you expect. Not having your setup or any debug output showing what’s going into 
it, and with the script being entirely custom, I can’t offer a ton of advice.

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On July 6, 2014 at 8:44:41 AM, Shahadat Hossain (s.hossain1...@gmail.com) wrote:

Hello Everybody,

I am using reviewboard server 1.7.26. I am trying to develop a system which 
will create a review-request when a use commit any from the client side. I 
decided go with pre-commit hook. For this i already configure the server and in 
my svn repository hook i added a script which will call a script to generate 
review-request. But i can't generate a single review-request with this 
process.I am not even sure where i am missing any thing here. So it will be 
great if any body help me to overcome this issue. below i am attaching  scripts 
that i have used and error logs i am getting in the server. Please

Error logs:
Sending        hello.txt
Transmitting file data .svn: Commit failed (details follow):
svn: Commit blocked by pre-commit hook (exit code 1) with output:
Executing pre-commit check
svnlook: Can't open file '73-48/format': No such file or directory
Log message is empty, no review request created

pre-commit script:

REPOS="$1"
TXN="$2"
echo "Executing pre-commit check" >&2
/var/sourcecontrol/svn/newRepository/hooks/pre-commit-hook-reviewboard "$TXN" 
"$REPOS" || exit 1

--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to