[MERGE] make 'push' default to parent branch

John Arbash Meinel john at arbash-meinel.com
Wed Sep 3 19:56:11 BST 2008


John Arbash Meinel has voted resubmit.
Status is now: Resubmit
Comment:
We had a huge discussion of this on the ML, and didn't really seem to 
get anywhere.

It doesn't effect me personally, because for all important branches I 
already have a default mirror location set, so "bzr push" does the right 
thing (thanks to push_location:policy = appendpath)

It is hard, at this point, for me to think like a new user, and it is 
just as bad to come up with the "common operations". As it seems to 
matter a lot where you came from.

1) I'd prefer this to be deferred to 1.8
2) the test is bundled together with another test, rather than be a 
separate, clearly defined test. That needs to be fixed regardless.
3) I have a feeling this will tend to mess up people's local branches 
more often than it messes with anything public. For example:

bzr branch $UPSTREAM upstream
bzr branch upstream mywork
cd mywork
hack hack
commit
hack
commit
ok, ready to publish
bzr push # oops, just overwrote my local mirror of upstream

I'm a bit ambivalent, mostly because I tend to the "if a user wants it.. 
give it to them."

Anyway, at a minimum this needs to be cleaned up. And according to the 
bug report Scott has given up on it anyway. But for now, marking 
Resubmit rather than Reject

For details, see: 
http://bundlebuggy.aaronbentley.com/project/bzr/request/%3C20080725194535.GA8899%40mutt.xyzz.org%3E
Project: Bazaar



More information about the bazaar mailing list