Re: Subversion post-commit not working

2011-07-26 Thread David Somers-Harris
I'm in the repository directory on the server, not a working directory. This
is being called the subversions' hooks folder.

svn up will inevitably say ". is not a working directory". Reviewboard's
documentation suggests post-commit scripts are possible but they don't
detail how. Requiring them to be in a working directory for this situation
seems non-intuitive.

Any suggestions?

-- 
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

Re: Subversion post-commit not working

2011-07-25 Thread Tucker
>From the same directory, what does "svn status" say? The post-review script
uses the same pathing concept as the svn command. Have to be in an active
work space (which the response implies you aren't) and be in or above the
location with active changes.
On Jul 21, 2011 1:57 PM, "David"  wrote:
> I'm trying to get post-review to create a review for me from
> Subversion's post-commit script. However, no matter what options I
> pass, post-review tries svn info and obviously fails to detect a
> repository. I'm doing it from the server so there isn't any working
> copy on the server.
>
> For example
>
> post-review --username=user --password=password --submit-as=submitter -
> d
 RBTools 0.3.2
 Home = /home/david
 svn info
 git rev-parse --git-dir
> The current directory does not contain a checkout from a
> supported source code repository.
>
>
> Even passing a diff file has the same result
>
> post-review --diff-filename=test.diff -d
 RBTools 0.3.2
 Home = /home/david
 svn info
 git rev-parse --git-dir
> The current directory does not contain a checkout from a
> supported source code repository.
>
> What am I missing?
>
> I'm running from Ubuntu 10.04
>
> --
> 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

-- 
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