Repeatedly reopens the same branch (and connection!)

Bug #787330 reported by Andrew Bennetts
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzr-gedit
New
Undecided
Unassigned

Bug Description

Originally filed as a question:

While opening with gedit a file from a remote repository (sftp),
I am constantly asked for the password ( at every operation, including copy and paste
a line of code).
If I disable the gedit plugin "GDP Bazaar Integration" everything works perfect,
but I loose the ability of handling my repository from gedit.

Quick analysis:

This is probably a bug in bzr-gedit (the gedit plugin you are using). At a glance I think the issue is in BazaarWindowHelper._do_set_active_uri_from_tab: it looks like it will repeatedly reopen the branch without reusing a previously opened instance (or even reusing a previous connection). It probably should be caching the recently opened branches and reusing those objects here.

Revision history for this message
Ricardo Graça (devius) wrote :

Even using an agent to manage ssh keys/passwords this bug slows down the editing process considerably. It's simply not practical to use Gedit Bazaar plugin with remote SFTP files as it is.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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