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.
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?
branch_ combo.addItem( url_for_ display( br.base) )
for br in branches:
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?