I came across this, too, and was able to fix it by setting a counter in p4 to point to the server. I think this is the direction they are going with post-review but it is not entirely well documented.
p4 counter reviewboard.url http://your-rboard-url post-review will then look at your P4 environment, get the P4PORT, look at the counter and hook reviewboard up to tho correct p4 repo. On Jan 25, 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 22.214.171.124 > 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