qlog: working tree should support 'log' on files over bzr+ssh

Bug #621934 reported by Martitza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Medium
Gary van der Merwe

Bug Description

I have set up a repository on a remote server which I access using bzr explorer via bzr+ssh.

I have a checkout from that remote repo.

Pressing the 'log' button for the whole repo works great!

But if I right-click on an individual file on the working tree and select 'show log' I get this error:

bzr: ERROR: <bzrlib.transport.remote.RemoteSSHTransport url=bzr+ssh://mserver.net/home/bzr/test/trunk/> is not a local path

Well, yes, that's true. But I still expect to get the log for the file.

The url is correct and 'bzr log README.TXT' (for example) works fine from the command line for the same checkout,

 I have not attempted to debug.

~M

Tags: qlog

Related branches

affects: bzr-explorer → qbzr
Changed in qbzr:
importance: Undecided → Medium
summary: - working tree should support 'log' on files over bzr+ssh
+ qlog: working tree should support 'log' on files over bzr+ssh
tags: added: qlog
Revision history for this message
Gary van der Merwe (garyvdm) wrote :

Relevant traceback:

Mon 2010-11-08 15:53:05 +0200
0.065 bazaar version: 2.2.1
0.066 bzr arguments: [u'qbrowse', u'bzr+ssh://garyvdm-desktop/~/qbzr/trunk']
0.090 looking for plugins in /home/garyvdm/.bazaar/plugins
0.216 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.217 Plugin name bzrtools already loaded
0.458 encoding stdout as sys.stdout encoding 'UTF-8'
1.375 Unable to obtain credentials for {'protocol': 'ssh', 'server': 'garyvdm-desktop'} from GNOME keyring: NoMatchError()
1.415 bzr-svn: using Subversion 1.6.12 ()
1.522 ssh implementation is OpenSSH

Mon 2010-11-08 15:53:07 +0200
0.100 bazaar version: 2.2.1
0.105 bzr arguments: [u'serve', u'--inet', u'--directory=/', u'--allow-writes']
0.145 looking for plugins in /home/garyvdm/.bazaar/plugins
0.310 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.311 Plugin name bzrtools already loaded
0.538 encoding stdout as osutils.get_user_encoding() 'UTF-8'
0.564 bzr-svn: using Subversion 1.6.12 ()
6.069 Traceback (most recent call last):
  File "/home/garyvdm/.bazaar/plugins/qbzr/lib/trace.py", line 320, in reports_exception_decorate
    return f(*args, **kargs)
  File "/home/garyvdm/.bazaar/plugins/qbzr/lib/log.py", line 243, in load
    branches, primary_bi, file_ids = self.get_branches_and_file_ids()
  File "/home/garyvdm/.bazaar/plugins/qbzr/lib/log.py", line 264, in get_branches_and_file_ids
    self.tree = self.branch.bzrdir.open_workingtree()
  File "/usr/lib/python2.6/dist-packages/bzrlib/remote.py", line 424, in open_workingtree
    raise errors.NotLocalUrl(self.root_transport)
NotLocalUrl: <bzrlib.transport.remote.RemoteSSHTransport url=bzr+ssh://garyvdm-desktop/~/qbzr/trunk/> is not a local path.

9.374 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
9.374 return code 0
7.256 return code 0

qlog tries to load the working tree if to passed to it from then treewidget. It should only do this for local branches.

Changed in qbzr:
status: New → Confirmed
Changed in qbzr:
assignee: nobody → Gary van der Merwe (garyvdm)
milestone: none → 0.20b1
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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