Hmm, hard to say. I'm able to do that with svn v1.3.1. Which version are you
using?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Wed, Feb 24, 2010 at 6:01 PM, Stodge <sto...@gmail.com> wrote:

> I'm trying to get the post-review script working from the svn hook but
> I'm getting a weird error:
>
> ./rb-post-commit-hook /srv/svn/fred 11
> /usr/bin/post-review --repository-url=file:///srv/svn/fred --
> username=admin --password=admin -p --submit-as=mike --revision-
> range=10:11   --server=http://localhost/reviews/fred --summary="refs
> #1 - publish review" --description="(In [11]) refs #1 - publish
> review"
> Failed to execute command: ['/usr/bin/post-review', '--repository-
> url=file:///srv/svn/fred', '--username=admin', '--password=admin', '-
> p', '--submit-as=mike', '--revision-range=10:11', '', '', '--
> server=http://localhost/reviews/fred', '--summary="refs #1 - publish
> review"', '--description="(In [11]) refs #1 - publish review"', '']
> Failed to execute command: ['svn', 'diff', '--diff-cmd=diff', 'file:///
> srv/svn/fred/@10', 'file:///srv/svn/fred/@11', '', '', '']
> ['svn: Target lists to diff may not contain both working copy paths
> and URLs\n']
>
> If I type the post-review command (I used print to display what was
> being executed) then it works:
>
> /usr/bin/post-review --repository-url=file:///srv/svn/fred --
> username=admin --password=admin -p --submit-as=mike --revision-
> range=10:11   --server=http://localhost/reviews/fred --summary="refs
> #1 - publish review" --description="(In [11]) refs #1 - publish
> review"
> ==> Review Board Login Required
> Enter username and password for Review Board at
> http://localhost/reviews/fred/
> Review request #13 posted.
>
> http://localhost/reviews/fred/r/13
>
> Any ideas why it won't work when I run the post-commit hook manually?
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to