Simplified the test where a simple colo branch creation locks the directory path.
$ mkdir mywork
$ cd mywork
$ bzr init Created a standalone tree (format: 2a)
$ echo A > a && bzr add a && bzr commit -m A
$ bzr switch -b br1
$ cd ..
$ mv mywork mywork1
$ cd mywork1
$ bzr branches
Simplified the test where a simple colo branch creation locks the directory path.
$ mkdir mywork
Created a standalone tree (format: 2a)
$ cd mywork
$ bzr init
$ echo A > a && bzr add a && bzr commit -m A
$ bzr switch -b br1
$ cd ..
$ mv mywork mywork1
$ cd mywork1
$ bzr branches
This should not give error.