Labels: Type-Defect Priority-Medium
New issue 3336 by e.smolen...@gmail.com: RBTools - Perforce - post/diff
fail when using path instead of changelist number
*** READ THIS BEFORE POSTING!
*** You must complete this form in its entirety, or your bug report will be
*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
*** Do not post confidential information in this bug report!
What version are you running?
What's the URL of the page containing the problem?
What steps will reproduce the problem?
1. Perforce repository - rbt diff //depot/path/to/file/...@cn1,@cn2
What is the expected output? What do you see instead?
Expected that diffs are genearted using the perforce path to extract
revisions. Instead, the following error is generated
Failed to execute command:
['p4', '-G', 'change', '-o', '//depot/path/to/file/...@cn1,@cn2']
What operating system are you using? What browser?
Please provide any additional information below.
The problem is that perforce.py tries to first interpret the path as a
changelist and get its information, but then dies inside run_p4 instead of
raising a InvalidRevisionSpecError exception.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.