$ rbt post --debug
DEBUG:root:Checking for a Bazaar repository...
DEBUG:root:Running: bzr info
DEBUG:root:Command exited with rc 3: ['bzr', 'info']
bzr: ERROR: Not a branch: "<WC_PATH>".
---
DEBUG:root:Checking for a CVS repository...
DEBUG:root:Checking for a ClearCase repository...
DEBUG:root:Checking for a Git repository...
DEBUG:root:Running: git rev-parse --git-dir
DEBUG:root:Command exited with rc 128: ['git', 'rev-parse', '--git-dir']
fatal: Not a git repository (or any of the parent directories): .git
---
DEBUG:root:Checking for a Mercurial repository...
DEBUG:root:Running: hg showconfig
DEBUG:root:Running: hg root
DEBUG:root:Command exited with rc 255: ['hg', 'root']
abort: There is no Mercurial repository here (.hg not found)!
---
DEBUG:root:Checking for a Perforce repository...
DEBUG:root:Checking for a Plastic repository...
DEBUG:root:Checking for a Subversion repository...
DEBUG:root:Running: svn info --non-interactive
DEBUG:root:Running: diff --version
DEBUG:root:repository info: Path: <REPO_URL>, Base path: <WC_PATH>, Supports changesets: False
DEBUG:root:Running: svn propget reviewboard:url <REPO_URL>
DEBUG:root:Making HTTP GET request to http://<RB_HOST>/api/
DEBUG:root:Making HTTP GET request to http://<RB_HOST>/api/info/
Traceback (most recent call last):
File "/usr/local/bin/rbt", line 9, in <module>
load_entry_point('RBTools==0.5', 'console_scripts', 'rbt')()
File "/usr/local/lib/python2.6/dist-packages/RBTools-0.5-py2.6.egg/rbtools/commands/main.py", line 99, in main
command.run_from_argv([RB_MAIN] + args)
File "/usr/local/lib/python2.6/dist-packages/RBTools-0.5-py2.6.egg/rbtools/commands/__init__.py", line 150, in run_from_argv
exit_code = self.main(*args) or 0
File "/usr/local/lib/python2.6/dist-packages/RBTools-0.5-py2.6.egg/rbtools/commands/post.py", line 432, in main
files=args)
File "/usr/local/lib/python2.6/dist-packages/RBTools-0.5-py2.6.egg/rbtools/utils/diffs.py", line 12, in get_diff
diff, parent_diff = scmtool.diff(files)
File "/usr/local/lib/python2.6/dist-packages/RBTools-0.5-py2.6.egg/rbtools/clients/svn.py", line 108, in diff
return (self.do_diff(["svn", "diff", "--diff-cmd=diff"] + files),
TypeError: can only concatenate list (not "tuple") to list
Casting files to list ("list(files)") makes it proceed further, but it fails with:
Traceback (most recent call last):
File "/usr/local/bin/rbt", line 9, in <module>
load_entry_point('RBTools==0.5', 'console_scripts', 'rbt')()
File "/usr/local/lib/python2.6/dist-packages/RBTools-0.5-py2.6.egg/rbtools/commands/main.py", line 99, in main
command.run_from_argv([RB_MAIN] + args)
File "/usr/local/lib/python2.6/dist-packages/RBTools-0.5-py2.6.egg/rbtools/commands/__init__.py", line 150, in run_from_argv
exit_code = self.main(*args) or 0
File "/usr/local/lib/python2.6/dist-packages/RBTools-0.5-py2.6.egg/rbtools/commands/post.py", line 450, in main
submit_as=self.options.submit_as)
File "/usr/local/lib/python2.6/dist-packages/RBTools-0.5-py2.6.egg/rbtools/commands/post.py", line 316, 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)
The reason for this, I guess, is somewhat peculiar setup we're using. In our setup, RB is hosted on the same machine as the SVN repository, so to speed up its access to SVN, the repository is configured with a file:///svn/project-svn URL. The developers, though, use a different URL to check-out their working copies: svn://server/svn/project-svn. The post-review was able to match these two URLs, but 'rbt post' apparently is not so capable.
Regards,
Alexey.