Hi all, Having a recurring problem with rbt post - whenever I try to post a diff to our RB server I get
The repository path specified is not in the list of known repositories. (HTTP 400, API Error 206) as a response. I've configured the repo in RB to point to the root of the SVN repository we're using, and my .reviewboardrc file reads as follows: REVIEWBOARD_URL = "http://reviewboard.{company_name}.co.uk" REPOSITORY = "{project_name}" REPOSITORY_TYPE = "svn" The repository in RB is set up as follows: Name: {project_name} Hosting Service: (None - Custom Repository) Repository Type: Subversion Path: http://visualsvn.//company_name//.co.uk/svn/{project_name} Username: {username} Password: {password} svn info on the directory I'm trying to diff reads as follows: Path: . Working Copy Root Path: C:\eclipse_workspace URL: http://visualsvn.{company_name}.co.uk/svn/{project_name}/trunk Relative URL: ^/trunk Repository Root: http://visualsvn.{company_name}.co.uk/svn/{project_name} Repository UUID: {uuid} Revision: 9394 Node Kind: directory Schedule: normal Last Changed Author: {person} Last Changed Rev: 9391 Last Changed Date: 2018-06-25 14:59:01 +0100 (Mon, 25 Jun 2018) Finally, rbt post -o --debug outputs: >>> RBTools 0.7.11 >>> Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)] >>> Running on Windows-7-6.1.7601-SP1 >>> Home = C:\Users\cascara01\AppData\Roaming >>> Current directory = C:\eclipse_workspace >>> Command line: rbt post -o --debug >>> Running: tf vc help >>> Checking for a Subversion repository... >>> Running: svn --non-interactive info >>> Running: diff --version >>> Running: svn --non-interactive --version -q >>> repository info: Path: http://visualsvn.{company_name}.co.uk/svn/{project_name}, Base path: /trunk, Supports changesets: False >>> Making HTTP GET request to http://reviewboard.{company_name}.co.uk/api/ >>> Making HTTP GET request to https://reviewboard.{company_name}.co.uk/api/repositories/?tool=Subversion >>> Cached response for HTTP GET https://reviewboard.{company_name}.co.uk/api/repositories/?tool=Subversion expired and was modified >>> Running: svn --non-interactive info >>> Running: diff --version >>> Running: svn --non-interactive --version -q >>> repository info: Path: http://visualsvn.{company_name}.co.uk/svn/{project_name}, Base path: /trunk, Supports changesets: False >>> Running: svn --non-interactive status -q --ignore-externals >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry -r BASE >>> Running: svn --non-interactive info app/include/carriage/ate/app_1_ate.h >>> Running: svn --non-interactive info app/include/carriage/ate >>> Running: svn --non-interactive info app/include/carriage >>> Running: svn --non-interactive info app/include >>> Running: svn --non-interactive info app >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry -r BASE --no-diff-deleted >>> Running: svn --non-interactive info app/include/carriage/ate/app_1_ate.h >>> Running: svn --non-interactive info app/include/carriage/ate/app_1_ate.h >>> Running: svn --non-interactive info app/include/carriage/ate/app_1_ate.h >>> Generated diff size: 604 bytes >>> Making HTTP GET request to https://reviewboard.{company_name}.co.uk/api/validation/diffs/ >>> Cached response for HTTP GET https://reviewboard.{company_name}.co.uk/api/validation/diffs/ expired and was modified >>> Making HTTP POST request to https://reviewboard.{company_name}.co.uk/api/validation/diffs/ >>> Got API Error 206 (HTTP code 400): The repository path specified is not in the list of known repositories. >>> Error data: {u'stat': u'fail', u'repository': u'{project_name}', 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 "C:\Program Files (x86)\RBTools\bin\..\Python27\Scripts\rbt-script.py", line 11, in <module> load_entry_point('RBTools==0.7.11', 'console_scripts', 'rbt')() File "C:\Program Files (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.11-py2.7.egg\rbtools\commands\main.py", line 133, in main command.run_from_argv([RB_MAIN, command_name] + args) File "C:\Program Files (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.11-py2.7.egg\rbtools\commands\__init__.py", line 665, in run_from_argv exit_code = self.main(*args) or 0 File "C:\Program Files (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.11-py2.7.egg\rbtools\commands\post.py", line 821, in main (msg_prefix, e)) rbtools.commands.CommandError: Error validating diff The repository path specified is not in the list of known repositories. (HTTP 400, API Error 206) Does anyone have any advice on how to resolve this? -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" 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/d/optout.
