Yeah I have that - it's in my .reviewboardrc file...if I dump the server
log it ends with this:
2013-03-21 18:14:31,878 - ERROR - Error uploading new diff: A repository
was not found at the specified path.
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.6-py2.7.egg/reviewboard/webapi/resources.py",
line 2022, in create
request.FILES.get('parent_diff_path'))
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.6-py2.7.egg/reviewboard/reviews/forms.py",
line 305, in create
history)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.6-py2.7.egg/reviewboard/diffviewer/forms.py",
line 85, in create
diff_file, basedir, check_existance=(not parent_diff_file)))
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.6-py2.7.egg/reviewboard/diffviewer/forms.py",
line 162, in _process_files
f.moved)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.6-py2.7.egg/reviewboard/scmtools/perforce.py",
line 326, in parse_diff_revision
if len(self.client.get_files_at_revision(revision_str)) == 0:
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.6-py2.7.egg/reviewboard/scmtools/perforce.py",
line 235, in get_files_at_revision
lambda: self._get_files_at_revision(revision_str))
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.6-py2.7.egg/reviewboard/scmtools/perforce.py",
line 178, in _run_worker
self._convert_p4exception_to_scmexception(e)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.6-py2.7.egg/reviewboard/scmtools/perforce.py",
line 160, in _convert_p4exception_to_scmexception
I can happily ping the server from the same reviewboard server though or
run p4 on the command line on the server and talk to the perforce server...
Lee
On Friday, March 22, 2013 12:40:22 AM UTC+1, David Trowbridge wrote:
>
> The best way to handle this is to set REPOSITORY in the .reviewboardrc in
> order to force it to always find the right one.
>
>
> -David
>
>
> On Thu, Mar 21, 2013 at 4:35 PM, Lee Laborczfalvi
> <[email protected]<javascript:>
> > wrote:
>
>> We've got a somewhat odd perforce setup that has a single server that can
>> be addressed a number of ways:
>>
>> server.eng.domain.net
>> server.domain.net
>> server.comany.com
>>
>> I've patched the post-review tool so that it ignores the aliases, but
>> anytime I post a review to the server I get a server error indicating the
>> server can't be found (no repository found).
>>
>> Is there anyway that the server code can also be patched to ignore
>> aliases?
>>
>> Running 1.7.6
>>
>> Lee
>>
>> --
>> 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
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
--
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
[email protected]
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en
---
You received this message because you are subscribed to the Google Groups
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.