I think I figured it out.  I'm running from cygwin mintty window, and 
normally finding the git executable via a cygwin symbolic link.  Python is 
calling out to windows to run the git process, and git wasn't on the 
windows path.

Once I put it there, the next problem was the interactive prompts for 
username and password don't work from a cygwin window.  Neither does 
python's interactive mode, unless you invoke it via "python -i".  So the 
process appeared to be hanging.  The workaround was to run post-review once 
from a normal command console to get the login info set up.  Now it's 
working from within cygwin, unless it decides to prompt for something else 

On Saturday, December 29, 2012 6:32:36 AM UTC-8, Jason Glazer wrote:
> I'm trying to run post-review from windows 7 from a git base directory. 
>  It doesn't seem to be finding git, and the -d option isn't indicating how 
> it might be looking.  Output is below.
> A different post suggested it was running 'git rev-parse --git-dir'. 
>  There is a git executable (a symbolic link, actually) on the path, and I 
> can run that successfully from the command line.
> Any idea what I might try?
> DEBUG:root:Checking for a CVS repository...
> DEBUG:root:Checking for a ClearCase repository...
> DEBUG:root:Checking for a Git repository...
> DEBUG:root:Checking for a Mercurial repository...
> DEBUG:root:Checking for a Perforce repository...
> DEBUG:root:Checking for a Plastic repository...
> DEBUG:root:Checking for a Subversion repository...
> >>> RBTools 0.4.2
> >>> Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit 
> (Intel)]
> >>> Running on Windows-7-6.1.7601-SP1
> >>> Home = C:\Users\jglazer\AppData\Roaming
> >>> Current Directory = C:\Users\jglazer\code\testproject
> >>> Checking the repository type. Errors shown below are mostly harmless.
> The current directory does not contain a checkout from a
> supported source code repository.

Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to