I can get the reviewboard web interface to see my p4 repository (and it finds
the change descriptions if I try to create a a new review request.)
I'm seeing:
Traceback (most recent call last):
File "/usr/local/bin/rbt", line 8, in <module>
load_entry_point('RBTools==0.6', 'console_scripts', 'rbt')()
File "/Library/Python/2.6/site-packages/RBTools-0.6-py2.6.egg/rbtools/commands/main.py", line 134, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File "/Library/Python/2.6/site-packages/RBTools-0.6-py2.6.egg/rbtools/commands/__init__.py", line 422, in run_from_argv
exit_code = self.main(*args) or 0
File "/Library/Python/2.6/site-packages/RBTools-0.6-py2.6.egg/rbtools/commands/list_repo_types.py", line 12, in main
print_clients(self.options)
File "/Library/Python/2.6/site-packages/RBTools-0.6-py2.6.egg/rbtools/clients/__init__.py", line 356, in print_clients
repository_info = tool.get_repository_info()
File "/Library/Python/2.6/site-packages/RBTools-0.6-py2.6.egg/rbtools/clients/perforce.py", line 183, in get_repository_info
p4_info =
self.p4.info()
File "/Library/Python/2.6/site-packages/RBTools-0.6-py2.6.egg/rbtools/clients/perforce.py", line 73, in info
split_lines=True)
File "/Library/Python/2.6/site-packages/RBTools-0.6-py2.6.egg/rbtools/clients/perforce.py", line 101, in run_p4
if self.options.p4_client:
AttributeError: 'Namespace' object has no attribute 'p4_client'
from rbt list-repo-types.
I don't have permission to make counters (which seems to be a suggested work around for getting rbt post to work.)
rbt diff -d <change number that worked in the web interface>
rbt post -d <change number that worked in the web interface>
says:
ERROR: The current directory does not contain a checkout from a supported source code repository.
I know the old p4 server means I don't have the shelve option. We are currently pushing changes
to a development branch then merging that into a release branch. Is there some trick I'm missing
for getting the rbt to build a diff for an already submitted p4 change?
Dan S.