Comment #6 on issue 3864 by [email protected]: "rbt post
//depot/path/...@r1,@r2" throws an exception in 0.7.2 and no review
request gets created
https://code.google.com/p/reviewboard/issues/detail?id=3864
Here's the command again with --debug:
(rbtools-0.7.3)[sallan@localhost]~/Projects/RBScript% rbt post --debug
--repository-type perforce --server http://localhost
//depot/Jam/MAIN/src/...@130,@140
RBTools 0.7.3
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
Running on Linux-2.6.32-504.16.2.el6.x86_64-x86_64-with-centos-6.6-Final
Home = /home/sallan
Current directory = /home/sallan/Projects/RBScript
Running: git version
Checking for a Perforce repository...
Running: p4 info
Running: diff --version
repository info: Path: [u'localhost:1492',
u'localhost.localdomain:1492', u'localhost6:1492',
u'localhost6.localdomain6:1492'], Base path: None, Supports changesets:
True
Making HTTP GET request to http://localhost/api/
Making HTTP GET request to http://localhost/api/info/
Running: p4 info
Writing "//depot/Jam/MAIN/src/Jamfile#17" to "/tmp/tmpGnFVSP"
Running: p4 print -o /tmp/tmpGnFVSP -q //depot/Jam/MAIN/src/Jamfile#17
Writing "//depot/Jam/MAIN/src/Jamfile#18" to "/tmp/tmpREhcGF"
Running: p4 print -o /tmp/tmpREhcGF -q //depot/Jam/MAIN/src/Jamfile#18
Traceback (most recent call last):
File "/home/sallan/envs/rbtools-0.7.3/bin/rbt", line 9, in <module>
load_entry_point('RBTools==0.7.3', 'console_scripts', 'rbt')()
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/main.py",
line 133, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/__init__.py",
line 612, in run_from_argv
exit_code = self.main(*args) or 0
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/commands/post.py",
line 682, in main
extra_args=extra_args)
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/clients/perforce.py",
line 474, in diff
return self._path_diff(extra_args, exclude_patterns)
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/clients/perforce.py",
line 1103, in _path_diff
local_path = self._depot_to_local(depot_path)
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/clients/perforce.py",
line 1281, in _depot_to_local
where_output = self.p4.where(depot_path)
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/clients/perforce.py",
line 103, in where
return self.run_p4(['where', depot_path], marshalled=True)
File "/home/sallan/envs/rbtools-0.7.3/lib/python2.6/site-packages/RBTools-0.7.3-py2.6.egg/rbtools/clients/perforce.py",
line 154, in run_p4
raise SCMError('Failed to execute command: %s\n' % cmd)
rbtools.clients.errors.SCMError: Failed to execute command: [u'p4', u'-G',
u'where', '//depot/Jam/MAIN/src/Jamfile']
//depot/Jam/MAIN/src/Jamfile - file(s) not in client view.
Same client view and command works on 0.6.3.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.