Something they may help you here is to use a .reviewboardrc file with the REPOSITORY setting to specify the repository *name*, as you have it set on Review Board.
The post-review docs cover this in some detail. Christian On Aug 14, 2012, at 21:59, David Trowbridge <trowb...@gmail.com> wrote: > The way that post-review figures out which repository to use is that > it uses the contents of your P4PORT and checks that against the > repository paths on the reviewboard server. If those don't match for > some reason, or it can't resolve your local perforce server, then it > won't find the repository on the remote side. > > You can use the --repository-url parameter to override this behavior. > > -David > > > On Tue, Aug 14, 2012 at 9:26 PM, Nilesh Jaiswal <nileshj...@gmail.com> wrote: >> Hi All, >> >> I did managed to resolve this issue, by adding perforce server name in >> /etc/hosts file both windows and Linux server from where i have posted the >> review request. But my question is why rbtools need to add perforce hostname >> in /etc/hosts file? Any specific reason. >> >> Regards, >> Nilesh J >> >> On Tue, Aug 14, 2012 at 4:58 PM, Nilesh Jaiswal <nileshj...@gmail.com> >> wrote: >>> >>> Dear All, >>> >>> Till now its was working fine, now suddenly today when i posted review >>> requested i got below error message. >>> >>> >>> There was an error creating this review request. >>> >>> The repository path "C077.msc.nds:1666" 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/ >>> >>> >>> >>> I can see that i have already registered my perforce server to >>> reviewboard, dont know why it is not able to read perforce server. >>> >>> >>> Even i am providing the command as below still it is reading repository >>> information as localhost my desktop. >>> >>> >>> >>> post-review -o --bugs-closed="PDR_TEST" --branch="DEV" >>> --server=http://rbc.msc.com:8000/rb --submit-as=nileshj >>> --description-file="c:\users\nileshj\appdata\local\temp\1\tmpff8kua" 1583 >>> --p4-port="pf-ch.msc.com:1666" >>> >>> >>> >>> posting review request... >>> >>>>>> RBTools 0.3.4 >>> >>>>>> Home = C:\Users\nileshj\AppData\Roaming >>> >>>>>> p4 info >>> >>>>>> repository info: Path: C077.msc.nds:1666, Base path: None, Supports >>>>>> changesets: True >>> >>>>>> HTTP GETting api/ >>> >>> >>> >>> C:\Users\nileshj>p4 info >>> User name: nileshj >>> Client name: C077 >>> Client host: C077 >>> Client unknown. >>> Current directory: C:\Users\nileshj >>> Client address: 10.131.12.26:49627 >>> Server address: pf-ch.msc.com:1666 >>> Server root: /PFMETA/p4root >>> Server date: 2012/08/14 19:20:34 +0800 CST >>> Server uptime: 281:48:29 >>> Server version: P4D/LINUX26X86_64/2010.2/284433 (2011/01/28) >>> Server license: Software Corporation 5 users (support ends 2013/02/06) >>> Server license-ip: 10.122.65.160:1666 >>> Case Handling: sensitive >>> >>> >>> Please help if i am missing any thing here ....please help >>> >>> Thanks in advance. >>> >>> Regards, >>> Nilesh >> >> >> -- >> 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 -- 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