post-review calls into a log of SCM tools to try to figure out if there's a
repository in the current directory somewhere. In your case, it found a Git
one somehow. Is your home directory managed by Git?

Christian

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


On Wed, Jan 25, 2012 at 3:40 AM, mrQpa <mrqpa13t534...@gmail.com> wrote:

> I get error (post-review -d (...)):
> ">>> RBTools 0.3.2
> >>> Home = /Users/censored
> >>> svn info
> >>> git rev-parse --git-dir
> >>> git symbolic-ref -q HEAD
> >>> git config --get branch.master.merge
> >>> git config --get branch.master.remote
> >>> git config remote.origin.url
> >>> git config remote.origin.url
> Failed to execute command: ['git', 'config', 'remote.origin.url']"
>
> Why it tries to use git? I want to use post-review with perforce. I
> was trying different options with post-review command but nothing
> worked i.e.:
> post-review -d --p4-client=MyPerforceWorkspace --p4-port=censored.com:
> 1234 --server=http://censored --username=censored 1234
> //^ I did change correct values to censored etc, I checked them 20x
> times and they should be correct
>
> I use:
> RBTools 0.3.2 //this git error doesnt appear when I use 0.3.4 version
> but instead I can't pass authentication because network infrastructure
> at my work needs older version (0.3.2) to pass authentication
> Python 2.5.4
> Perforce version: Rev. P4/MACOSX105U/2011.1/393975 (2011/12/16).
> git version 1.7.5.4
> I have p4 command line tool working.
> I did export perforce variables like export P4CLIENT, P4PORT and
> P4USER
>
> so the question is: how can I force post-review to use p4 and not git?
>
> --
> 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

Reply via email to