Comment 5 for bug 539996

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 539996] Re: bzr push should default to parent branch if that's writable

On Wed, 2010-03-17 at 02:31 +0000, Robert Collins wrote:

> On Wed, 2010-03-17 at 02:02 +0000, Scott James Remnant wrote:
> >
> > If they can write to the branch, why would it be unsafe? If they
> > didn't
> > mean to push there, they wouldn't have typed "push" unguarded
>
> They might not know that bzr would push to that branch; they might have
> thought they had set an explicit target and hadn't.
>
More to the point - this is an argument against supporting implicit
targets at all!

How would a user, typing bzr push, know that it would push to the branch
they last pushed to?

Or worse, how do they know it *won't* push to the branch that they last
pushed to - and instead pushes to the branch they _first_ pushed to?

Scott
--
Scott James Remnant
<email address hidden>