Comment 19 for bug 540280

Revision history for this message
Beetroot Dog (beetrootdog) wrote :

OK this patch fixes it, although it probably stops you from using bazaar from nautilus over gvfs-mounted sftp locations.
Although that didn't appear to work anyway.

Patch for /usr/lib/nautilus/extensions-2.0/python/nautilus-bzr.py
package: nautilus-bzr
version: 0.100.0-2ubuntu2 (natty)

The problem was with the call to WorkingTree.open_containing(file) in function get_background_items. This was launching another sftp connection even though nautilus had already opened one. This resulted in a second prompt for the password on connection and when changing directories - although it didn't seem to matter whether you entered your password or not - the bazaar/nautilus integration didn't seem to work over sftp locations.