Comment 2 for bug 118461

Revision history for this message
Jasper Groenewegen (colbrac) wrote :

This still isn't fixed in current trunk (531):

Case: symlink to stand-alone branch (or how do you call it? Anyway, the .bzr folder contains the history).
- Jumping to folder by changing entry in adress bar + double-clicking on symlink in right window changes view to folder but doesn't show any of the version-controlled files present. Going directly to the folder that is being symlinked works like it should.

Case: symlink to a branch in a repo (so .bzr folder does not contain the history)
- Jumping to folder by changing entry in adress bar does the same as above
- Double-clicking on symlink in right window does nothing

Error message for symlink of repo:
Traceback (most recent call last):
  File "/home/jasper/.bazaar/plugins/gtk/olive/__init__.py", line 913, in on_treeview_right_row_activated
    self.set_path(fullpath)
  File "/home/jasper/.bazaar/plugins/gtk/olive/__init__.py", line 311, in set_path
    self.wt, self.wtpath = WorkingTree.open_containing(path)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 325, in open_containing
    return control.open_workingtree(), relpath
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1388, in open_workingtree
    return format.open(self, _found=True)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 2842, in open
    wt = self._open(a_bzrdir, self._open_control_files(a_bzrdir))
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1377, in _open
    branch=a_bzrdir.open_branch(),
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1371, in open_branch
    return format.open(self, _found=True)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1213, in open
    _repository=a_bzrdir.find_repository())
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 561, in find_repository
    raise errors.NoRepositoryPresent(self)
bzrlib.errors.NoRepositoryPresent: No repository present: "file:///home/jasper/bzrgtktrunk/"

Errormessage of symlink to stand-alone branch:
Traceback (most recent call last):
  File "/home/jasper/.bazaar/plugins/gtk/olive/__init__.py", line 921, in on_treeview_right_row_activated
    self.refresh_right()
  File "/home/jasper/.bazaar/plugins/gtk/olive/__init__.py", line 1326, in refresh_right
    filename = tree1.relpath(path + os.sep + item)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 416, in relpath
    return osutils.relpath(self.basedir, path)
  File "/usr/lib/python2.5/site-packages/bzrlib/osutils.py", line 884, in relpath
    raise errors.PathNotChild(rp, base)
bzrlib.errors.PathNotChild: Path "/home/jasper/plottest/depositions.py" is not a child of path "/home/jasper/Programming/plotting"