Hello,
I want to call a phabricator api from my SVN pre-commit hook.
Pre-commit hook is getting executed but API is not getting called at all.
I tried with Git, and it's working fine.
Here is a sample pre-commit hook script :
#!/bin/sh
echo "Hello..." >> /tmp/pre_commit.txt
echo '{"status":"status-accepted", "ids":[27]}' | arc --conduit-uri="http://phab-ip-address/" call-conduit differential.query >> /tmp/pre_commit.txt
echo "RESULT : " $RESULT >> /tmp/pre_commit.txt
If anyone knows the answer, please reply.
Thanks.