Comment 9 for bug 48444

Revision history for this message
John A Meinel (jameinel) wrote :

I'm guessing this might be an inverse bug to bug #32669
Specifically, 32669 wants "bzr add tree/link-to-tree2" to add link-to-tree2 as a new entry in "tree". However this bug wants us to treat "bzr st link-to-tree2" as though we were running "bzr st tree2".
I don't know that we can cleanly handle both cases at the same time. The only thing that comes to mind is if the last portion of a path is a symlink, to walk back up and see if you find a containing WT and treat that path differently in the two cases.
Alternatively, there is always the "link" vs "link/" syntax that seems to handle some of these ambiguities.

Note that this bug does still exist:

$ ln -s b2 fake-b2
$ bzr st b2
added:
  foo
$ bzr st fake-b2
bzr: ERROR: Path "/home/jameinel/dev/,tmp/fake-b2" is not a child of path "/home/jameinel/dev/,tmp/b2"