[PEBKAC] Bzr mixing up branches?

Wouter van Heyst larstiq at larstiq.dyndns.org
Sun Feb 1 20:54:43 GMT 2009


On Sun, Feb 01, 2009 at 01:35:11PM -0600, Matthew D. Fuller wrote:
> On Sat, Jan 31, 2009 at 08:46:22AM +1300 I heard the voice of
> Talden, and lo! it spake thus:
> > 
> > Should we then produce an error if using push/pull in a checkout?
> 
> Heck no.  Using push and pull in a checkout make EXACTLY as much sense
> as using push and pull anywhere else.  All a checkout means is that
> your working tree isn't colocated with your branch.
> 
> Push and pull are branch operations; you use them any time you want to
> do something involving 2 branches.  They're inappropriate when you
> want to do something involving your branch and your working tree, but
> that's not push/pull's fault, any more than it's the fault of a
> screwdriver when you can't rake leaves with it.

Pull does have the side-effect, in a working tree, of updating it and
possibly merging content with uncommited changes.

Wouter van Heyst



More information about the bazaar mailing list