I am using RBtools 0.6.3 and am trying to post a review to ReviewBoard. We use SVN as our version control system.
We are not using the .reviewboardrc files but the reviewboard:url property as this means less files in the workspace. For most of our repos this works fine and rbt post creates a review request. However for 1 of our repos (may be more - not tested all of them) I got the following error: >>> Error data: {u'stat': u'fail', u'repository': u'SVN_SERVER/REPONAME/', u'err': {u'msg': u'The repository path specified is not in the list of known repositories.', u'code': 206}} Traceback (most recent call last): File "/usr/local/bin/rbt", line 9, in <module> load_entry_point('RBTools==0.6.3', 'console_scripts', 'rbt')() File "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.3-py2.7.egg/rbtools/commands/main.py", line 134, in main command.run_from_argv([RB_MAIN, command_name] + args) File "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.3-py2.7.egg/rbtools/commands/__init__.py", line 416, in run_from_argv exit_code = self.main(*args) or 0 File "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.3-py2.7.egg/rbtools/commands/post.py", line 791, in main submit_as=self.options.submit_as) File "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.3-py2.7.egg/rbtools/commands/post.py", line 507, in post_request raise CommandError("Error creating review request: %s" % e) rbtools.commands.CommandError: Error creating review request: The repository path specified is not in the list of known repositories. (HTTP 400, API Error 206) After some investigation I checked the Repo setup in Reviewboard. I found that for most of my repositories I had: http://SVN_SERVER/svn/REPONAME However for the failing one in question I had: http://SVN_SERVER/svn/REPONAME/ It seems the addition of the trailing '/' stopped rbtools from posting to the server. With the -d option it shows that it finds the Repo in Reviewboard, only when it attempts to POST the diff did it fail. This might be intentional, however if not. Perhaps it can be made a little more forgiving - maybe don't allow trailing '/' when a repo is configured. Cheers Dan -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.