Not able to call phabricator api's through svn pre-commit script.
When I execute svn commit, it gives error like this :
libphutil loaded from '/home/ubuntu/arc_files/libphutil/src'. arcanist loaded from '/home/ubuntu/arc_files/arcanist/src'. Config: Reading user configuration file "/root/.arcrc"... Config: Did not find system configuration at "/etc/arcconfig". Working Copy: Reading .arcconfig from "/home/ubuntu/jforum_local_repo/.arcconfig". Working Copy: Path "/home/ubuntu/jforum_local_repo" is part of `svn` working copy "/home/ubuntu/jforum_local_repo". Working Copy: Project root is at "/home/ubuntu/jforum_local_repo". Config: Did not find local configuration at "/home/ubuntu/jforum_local_repo/.svn/arc/config". [2015-03-17 04:04:59] ERROR 8: Undefined offset: 0 at [/home/ubuntu/arc_files/arcanist/src/workflow/ArcanistSvnHookPreCommitWorkflow.php:45] arcanist(head=master, ref.master=b961869edac9), phutil(head=master, ref.master=ce3959b4046f) #0 ArcanistSvnHookPreCommitWorkflow::run() called at [<arcanist>/scripts/arcanist.php:378] [2015-03-17 04:04:59] ERROR 8: Undefined offset: 1 at [/home/ubuntu/arc_files/arcanist/src/workflow/ArcanistSvnHookPreCommitWorkflow.php:46] arcanist(head=master, ref.master=b961869edac9), phutil(head=master, ref.master=ce3959b4046f) #0 ArcanistSvnHookPreCommitWorkflow::run() called at [<arcanist>/scripts/arcanist.php:378] >>> [0] <exec> $ svnlook log --transaction '' '' <<< [0] <exec> 3,213 us [2015-03-17 04:04:59] EXCEPTION: (CommandException) Command failed with error #1! COMMAND svnlook log --transaction '' '' STDOUT (empty) STDERR svnlook: Can't open file 'format': No such file or directory at [<phutil>/src/future/exec/ExecFuture.php:416] arcanist(head=master, ref.master=b961869edac9), phutil(head=master, ref.master=ce3959b4046f) #0 ExecFuture::resolvex() called at [<phutil>/src/future/exec/execx.php:17] #1 execx(string, NULL, NULL) called at [<arcanist>/src/workflow/ArcanistSvnHookPreCommitWorkflow.php:51] #2 ArcanistSvnHookPreCommitWorkflow::run() called at [<arcanist>/scripts/arcanist.php:378]