If you can run "p4 info" from the command-line, then I'm not sure what's
going on. Something is different from when you run it and when rbt is
trying to run it.
-David
On Tue, Mar 22, 2016 at 4:50 PM Caesar wrote:
> I have p4 client installed. How is p4 command-line tool
John,
I'd recommend basing your script on the git pre-receive hook at
https://github.com/reviewboard/rbtools/blob/master/contrib/tools/git-hook-check-approval
Basically, in your pre-commit hook, parse the commit message to find a
review request link, and then use that to check the approval API