Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3250 by rbtools master can't diff subversion repos

*** You must complete this form in its entirety, or your bug report will be
*** For customer support, please post to
*** If you have a patch, please submit it to
*** Do not post confidential information in this bug report!

What version are you running?

RBTools 0.6.0 alpha (56b10914da751c355a5becbf60615123f5090e7a)

What's the URL of the page containing the problem?

N/A - rbtools

What steps will reproduce the problem?
1. Run 'rbt diff' from a subversion repository

What is the expected output? What do you see instead?

Expected to see the diff. Got:

$ rbt diff --debug
DEBUG:root:Checking for a Subversion repository...
DEBUG:root:Running: svn info --non-interactive
DEBUG:root:Running: diff --version
DEBUG:root:repository info: Path: http://XXXXX, Base path: /YYYYY, Supports changesets: False DEBUG:root:Making HTTP GET request to DEBUG:root:Making HTTP GET request to
DEBUG:root:Running: svn log -r BASE -l 1 --xml
Traceback (most recent call last):
  File "/usr/bin/rbt", line 9, in <module>
    load_entry_point('', 'console_scripts', 'rbt')()
File "/usr/lib/python2.7/site-packages/", line 127, in main
    command.run_from_argv([RB_MAIN] + args)
File "/usr/lib/python2.7/site-packages/", line 158, in run_from_argv
    exit_code = self.main(*args) or 0
File "/usr/lib/python2.7/site-packages/", line 134, in main
File "/usr/lib/python2.7/site-packages/", line 11, in get_diff
    return scmtool.diff(revision_spec, files)
File "/usr/lib/python2.7/site-packages/", line 207, in diff
    revisions = self.parse_revision_spec(revision_spec)
File "/usr/lib/python2.7/site-packages/", line 111, in parse_revision_spec
    'base': self._convert_symbolic_revision('BASE'),
File "/usr/lib/python2.7/site-packages/", line 167, in _convert_symbolic_revision
    raise ValueError

What operating system are you using? What browser?

linux, fedora 20

Please provide any additional information below.

parse_revision_spec calls _convert_symbolic_revision('BASE'). but:

$ svn log -r BASE  --xml
<?xml version="1.0" encoding="UTF-8"?>

"svn diff -r BASE" works, and replacing "_convert_symbolic_revision('BASE')" with 'BASE' works too, at least in a simple test.

What is _convert_symbolic_revision meant to be doing? What sort of revisions can it take?

This was fine in 0.5 (I'm running 0.6 because I have a patch to submit for something else, and ran into this)

Using subversion-1.8.5-2.fc20.x86_64

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 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to