bzr-svn issue...

John Szakmeister john at szakmeister.net
Thu Oct 15 15:45:58 BST 2009


On Thu, Oct 15, 2009 at 10:38 AM, John Szakmeister <john at szakmeister.net> wrote:
[snip]
>  A little more information.  I temporarily changed InvalidRevisionId
> to derive from InternalBzrError so that I could get a traceback.  It
> appears to be throwing the error on line 938 of svn/repository.py in
> the get_revision function.  After a little more digging, it appears
> that the revision_id is being passed in as a unicode string, and that
> function is checking to be sure that it's just a plain string.  So, it
> appears that QBzr is doing the wrong thing here... I'm still trying to
> figure out where things went wrong though.

Ah, ha!  In QBzr 0.14.3, lib/revtreeview.py:load_visible_revisions()
is pulling data from some PyQt construct, and puts it into a set as a
unicode string.  It should probably treat that as bytes instead.  I
locally patched my copy, and all is happy now.

QBzr guys: should I file a bug?

-John



More information about the bazaar mailing list