Comment 1 for bug 404265

Revision history for this message
Alexander Belchenko (bialix) wrote :

John, will be nice to have traceback.

I suppose it dies on the following code in lib/switch.py:

        repo = self.branch.bzrdir.find_repository()

        if repo != None:
            branches = repo.find_branches() # <<<<< Perhaps here?
            for br in branches:
                branch_combo.addItem(url_for_display(br.base))

As I could see this error comes from bzrlib internals. So the best we can do is to catch error here (which error exactly? traceback?) and leaves branches empty list.

Do you agree?