can't switch lightweight checkout if base branch was renamed

Wouter van Heyst larstiq at larstiq.dyndns.org
Wed Oct 1 01:03:26 BST 2008


On Mon, Sep 29, 2008 at 11:52:41PM +0300, Alexander Belchenko wrote:
> Aaron Bentley пишет:
> > Alexander Belchenko wrote:
> >> If I rename/move base branch of lightweight checkout then I can't switch checkout to update base
> >> branch location:
> > 
> >> C:\work\Bazaar\plugins\qbzr>bzr switch C:/work/Bazaar/qbzr-repo/trunk
> >> bzr: ERROR: Not a branch: "C:/work/Bazaar/qbzr-repo.packs/trunk/".
> > 
> > I believe it works if you supply --force.
> 
> Thanks, it works. I've tried `bzr switch -f` before, but there is no `-f` option.

What happens to uncommitted changes when you supply --force, and might
that be the reason why it doesn't allow it without?

And how close is the problem to https://bugs.edge.launchpad.net/bzr/+bug/276404 
where pull fails on a similar moved base in get_parent()

Wouter van Heyst



More information about the bazaar mailing list