You don't want to be using --repository-url, if you have a .reviewboardrc
file.

You also want to make sure you're running this from the checkout directory.

Christian

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


On Tue, Aug 21, 2012 at 3:45 AM, cmuser <kapilanar...@gmail.com> wrote:

>
> I added this line in commitinfo..
>
> /usr/bin/post-review -dn --server=http://172.16.7.100:81
> --submit-as=$name  --repository-url=:pserver:$user@svn:/opt/cvsroot
>
> -bash-3.2$ cvs ci -m "BugID:47300 update"   document.txt
> Post-review for /opt/cvsroot/test
> >>> RBTools 0.4.1
> >>> Home = /
> No supported repository could be accessed at the supplied url.
> A commit is occurring in /opt/cvsroot/test
> 08/21/12 [16:13:16]: A commit is occurring in /opt/cvsroot/test
> 08/21/12 [16:13:16]: Pre-commit check for document.txt
> cvs commit: Pre-commit check failed
> cvs [commit aborted]: correct above errors first!
> -bash-3.2$ cat .reviewboardrc
>
> REPOSITORY = 'svn:/opt/cvsroot'
> REVIEWBOARD_URL = 'http://172.16.7.100:81'
> -bash-3.2$
>
> reviewboard repo settings path- svn:/opt/cvsroot
>
> How can i debug this further?
>
>
>
> On Tuesday, August 21, 2012 4:11:45 PM UTC+5:30, cmuser wrote:
>>
>> My gratitude again for replying Christian.
>>
>> Versions-
>> ReviewBoard==1.6.1
>> RBTools==0.4.1
>>
>>
>>
>>
>>
>> On Tuesday, August 21, 2012 12:52:17 PM UTC+5:30, Christian Hammond wrote:
>>>
>>> Oh, your RBTools is pretty old. You will need 0.4.x.
>>>
>>> What version of Review Board are you using?
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>>
>>> On Tue, Aug 21, 2012 at 12:09 AM, cmuser <kapila...@gmail.com> wrote:
>>>
>>>> to show more error on m/c where cvs installed , reviewboard on another
>>>> m/c
>>>>
>>>>  cat .reviewboardrc
>>>> REPOSITORY = 'svn:/opt/cvsroot'
>>>>
>>>> REVIEWBOARD_URL = 'http://172.16.7.100:81'
>>>> -bash-3.2$ post-review                   **
>>>>                               **
>>>> There was an error creating this review request.
>>>>
>>>> The repository path "svn.mmt.com:/opt/cvsroot" is not in the
>>>>
>>>> list of known repositories on the server.
>>>>
>>>> Ask the administrator to add this repository to the Review Board server.
>>>> For information on adding repositories, please read
>>>> http://www.reviewboard.org/**docs/manual/dev/admin/**
>>>> management/repositories/<http://www.reviewboard.org/docs/manual/dev/admin/management/repositories/>
>>>> -bash-3.2$
>>>>
>>>>
>>>>
>>>>
>>>> On Monday, August 20, 2012 4:38:36 PM UTC+5:30, cmuser wrote:
>>>>
>>>>>
>>>>> I have reviewboard install on server named "ABC(172.16.7.100)" & my
>>>>> cvs is installed on server "DEF"
>>>>> when i commit code from ser "ABC" it works but same command when i try
>>>>> on ser-"DEF" it fails with below error. Can some1 help where i am going
>>>>> wrong?
>>>>> Not sure if .reviewboardrc file should also be there, but i have
>>>>> tried with that also but still it failed
>>>>>
>>>>> cat .reviewboardrc
>>>>>
>>>>> REPOSITORY = ':pserver:cmsuer@def:/opt/**cvsr**oot'
>>>>>
>>>>> REVIEWBOARD_URL = 'http://172.16.7.100:81'
>>>>>
>>>>> command on changed files-
>>>>>
>>>>> $>post-review --debug 
>>>>> --server=http://172.16.7.100:**8**1<http://172.16.7.100:81>--username=admin
>>>>>  --password=admin  --repository-url=':pserver:
>>>>> **cmu**ser@def:/opt/cvsroot'
>>>>> >>> RBTools 0.3
>>>>> >>> svn info :pserver:kapilap@def:/opt/**cvsr**oot
>>>>> >>> repository info: Path: svn.mmt.com:/opt/cvsroot, Base path: None,
>>>>> Supports changesets: False
>>>>> >>> cvs diff -uN
>>>>> >>> HTTP GETting api/
>>>>> >>> HTTP GETting 
>>>>> >>> http://172.16.7.100:81/api/**inf**o/<http://172.16.7.100:81/api/info/>
>>>>> >>> Using the new web API
>>>>> >>> Attempting to create review request on def.domain.com:/opt/cvsroot
>>>>> for None
>>>>> >>> HTTP POSTing to 
>>>>> >>> http://172.16.7.100:81/api/**rev**iew-requests/<http://172.16.7.100:81/api/review-requests/>:
>>>>> {'repository': 'def.domain.com:/opt/cvsroot'}
>>>>> >>> Got API Error 206 (HTTP code 400): The repository path specified
>>>>> is not in the list of known repositories
>>>>> >>> Error data: {'stat': 'fail', 'repository': 
>>>>> >>> 'def.domain.com:/opt/cvsroot',
>>>>> 'err': {'msg': 'The repository path specified is not in the list of known
>>>>> repositories', 'code': 206}}
>>>>>
>>>>> There was an error creating this review request.
>>>>>
>>>>> The repository path "def.domain.com:/opt/cvsroot" is not in the
>>>>> list of known repositories on the server.
>>>>>
>>>>>
>>>>>
>>>>>  --
>>>> Want to help the Review Board project? Donate today at
>>>> http://www.reviewboard.org/**donate/<http://www.reviewboard.org/donate/>
>>>> Happy user? Let us know at 
>>>> http://www.reviewboard.org/**users/<http://www.reviewboard.org/users/>
>>>> -~----------~----~----~----~--**----~----~------~--~---
>>>> To unsubscribe from this group, send email to
>>>> reviewboard...@googlegroups.**com
>>>> For more options, visit this group at http://groups.google.com/**
>>>> group/reviewboard?hl=en<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
>

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