"View diff against previous revision" does nothing, even in Natty classic

Bug #884385 reported by Oliver Joos
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
RabbitVCS
Unknown
Unknown
rabbitvcs (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

I run rabbitvcs-nautilus 0.14.2.1-2~natty (latest from PPA) in Natty 11.04 (classic without effects).

Mainly I use SVN and everything works as expected. But if I click on sub-menu "View diff against previous revision" then nothing happens! I changed the logging level to DEBUG, but see no messages in RabbitVCS.log. I do see a Traceback in ~/.xsession-errors (see below). I found that this bug has already been reported upstream at the end of 2010, but was set to FIXED although its reporter still has problems.

Traceback in ~/.xsession-errors:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/diff.py", line 322, in <module>
    diff_factory(options.vcs, pathrev1[0], pathrev1[1], pathrev2[0], pathrev2[1], sidebyside=options.sidebyside)
  File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/diff.py", line 304, in diff_factory
    return classes_map[vcs](path1, revision_obj1, path2, revision_obj2, sidebyside)
KeyError: 'unknown'

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rabbitvcs (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel O'Connor (daniel-oconnor) wrote :

Hi all - can someone try from the current PPA?

Failing that, SVN? The unknown version control system issues have been revisited in trunk, and there's a few places they can occur - it would be good to understand the exact problem, and if the latest work has resolved it.

Revision history for this message
Oliver Joos (oliver-joos) wrote :

I tried it with RabbitVCS 0.15.1 (Subversion - 1.6.12., Pysvn - 1.7.2.0, ConfigObj - 4.7.2) and still see this bug (only line numbers have changed):

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/diff.py", line 333, in <module>
    diff_factory(options.vcs, pathrev1[0], pathrev1[1], pathrev2[0], pathrev2[1], sidebyside=options.sidebyside)
  File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/diff.py", line 315, in diff_factory
    return classes_map[vcs](path1, revision_obj1, path2, revision_obj2, sidebyside)
KeyError: 'unknown'

BTW: Now the submenu "Compare with previous version" also throws a Traceback and does nothing:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/util/contextmenu.py", line 406, in compare_tool_previous_revision
    pathrev1 = rabbitvcs.util.helper.create_path_revision_string(self.vcs_client.get_repo_url(self.paths[0]), previous_revision_number)
AttributeError: VCS instance has no attribute 'get_repo_url'

Changed in rabbitvcs (Ubuntu):
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.