Comment 3 for bug 308798

Revision history for this message
Robert Collins (lifeless) wrote : Re: Unable to switch lightweight checkout when it's parent branch is renamed

(working is a branch of 2.0)
robertc@lifelessdesktop:/tmp$ rm -rf foo
robertc@lifelessdesktop:/tmp$ mkdir foo
robertc@lifelessdesktop:/tmp$ ~/source/bzr/working/bzr init abc
Created a standalone tree (format: 2a)
robertc@lifelessdesktop:/tmp$ rm -rf wt
robertc@lifelessdesktop:/tmp$ ~/source/bzr/working/bzr co --lightweight abc wt
robertc@lifelessdesktop:/tmp$ mv abc ab
robertc@lifelessdesktop:/tmp$ cd wt
robertc@lifelessdesktop:/tmp/wt$ bzr switch ab
bzr: ERROR: Not a branch: "/tmp/abc/".
robertc@lifelessdesktop:/tmp/wt$ bzr switch ab --force
Updated to revision 1.
Switched to branch: /tmp/ab/