Here is a complete use-case (maybe not relevant but reproducing my problem) :
Initialization :
/tmp $ bzr init-repo repo
Shared repository with trees (format: 2a)
Location:
shared repository: repo
/tmp $ cd repo
/tmp/repo $ mkdir datas
/tmp/repo $ bzr init datas/dev_datas
Created a repository tree (format: 2a)
Using shared repository: /home/alex/tmp/repo/
/tmp/repo $ mkdir work
/tmp/repo $ cd work/
/tmp/repo/work $ bzr init branch
Created a repository tree (format: 2a)
Using shared repository: /home/alex/tmp/repo/
/tmp/repo/work $ bzr co branch/ checkout
Launching bzr explorer :
$ bzr explorer
Ctrl+o --> /tmp/repo/work/
Result : it opens the whole repository /tmp/repo and not just the folder /tmp/repo/work/ (cf. attachment)
Here is a complete use-case (maybe not relevant but reproducing my problem) :
Initialization :
/tmp $ bzr init-repo repo tmp/repo/ tmp/repo/
Shared repository with trees (format: 2a)
Location:
shared repository: repo
/tmp $ cd repo
/tmp/repo $ mkdir datas
/tmp/repo $ bzr init datas/dev_datas
Created a repository tree (format: 2a)
Using shared repository: /home/alex/
/tmp/repo $ mkdir work
/tmp/repo $ cd work/
/tmp/repo/work $ bzr init branch
Created a repository tree (format: 2a)
Using shared repository: /home/alex/
/tmp/repo/work $ bzr co branch/ checkout
Launching bzr explorer :
$ bzr explorer
Ctrl+o --> /tmp/repo/work/
Result : it opens the whole repository /tmp/repo and not just the folder /tmp/repo/work/ (cf. attachment)
Logs when printing 'path' at line 163 of bzrlib/ transport/ local.py : .bzr/branch- format bzr/branch- format work/.bzr/ branch- format .bzr/branch- format .bzr/checkout/ format .bzr/branch/ format .bzr/repository /format .bzr/branch- format .bzr/.bzr/ branch- format .bzr/README/ .bzr/branch- format .bzr/branch- format/ .bzr/branch- format .bzr/branch- lock/.bzr/ branch- format .bzr/repository /.bzr/branch- format .bzr/repository /format/ .bzr/branch- format .bzr/repository /indices/ .bzr/branch- format .bzr/repository /lock/. bzr/branch- format .bzr/repository /obsolete_ packs/. bzr/branch- format .bzr/repository /pack-names/ .bzr/branch- format .bzr/repository /packs/ .bzr/branch- format .bzr/repository /shared- storage/ .bzr/branch- format .bzr/repository /upload/ .bzr/branch- format datas/. bzr/branch- format datas/dev_ datas/. bzr/branch- format datas/dev_ datas/. bzr/branch/ format datas/dev_ datas/. bzr/repository/ format datas/. bzr/branch- format .bzr/branch- format .bzr/repository /format datas/dev_ datas/. bzr/branch/ branch. conf datas/dev_ datas/. bzr/branch/ format datas/dev_ datas/. bzr/branch/ branch. conf .bzr/repository /pack-names datas/dev_ datas/. bzr/branch/ branch. conf work/.bzr/ branch- format work/branch/ .bzr/branch- format work/branch/ .bzr/branch/ format work/branch/ .bzr/repository /format work/.bzr/ branch- format .bzr/branch- format .bzr/repository /format work/branch/ .bzr/branch/ branch. conf work/branch/ .bzr/branch/ format work/branch/ .bzr/branch/ branch. conf .bzr/repository /pack-names work/branch/ .bzr/branch/ branch. conf work/checkout/ .bzr/branch- format work/checkout/ .bzr/branch/ format work/checkout/ .bzr/repository /format work/.bzr/ branch- format .bzr/branch- format .bzr/repository /format work/checkout/ .bzr/branch/ branch. conf work/checkout/ .bzr/branch/ format work/checkout/ .bzr/branch/ branch. conf work/checkout/ .bzr/branch/ branch. conf
/home/alex/
/home/.
/.bzr/branch-format
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/
/tmp/repo/