[MERGE] make 'push' default to parent branch

Aaron Bentley aaron at aaronbentley.com
Mon Jul 28 06:55:06 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott Scriven wrote:
> * Aaron Bentley <aaron at aaronbentley.com> wrote:
>> Scott Scriven wrote:
>>> This tiny patch makes 'bzr push' use the parent branch if nothing 
>>> is remembered or specified.
>> I think that would lead to a flood of new "mkdir is not 
>> supported for http" complaints.  The reason these locations are 
>> separate is a location that's suitable for pull may be highly 
>> inappropriate for push.
> 

> As far as I can tell, the current behavior is a trade-off.  Bzr 
> makes it harder for core developers to make mistakes (accidental 
> push to main trunk), at the expense of making things a bit harder 
> for new users...

Quite the opposite.  An experienced developer will know *why* bzr is
complaining that http doesn't support mkdir.  A new user will not.  A
new user *ought* to understand "bzr: ERROR: No push location known or
specified."

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIjV850F+nu1YWqI0RArIUAKCAvq5fVEFBTVVi9oVpRil5QAmlCACgiDVr
dddaHnUxKkYan8GgkDFr2T0=
=fHFb
-----END PGP SIGNATURE-----



More information about the bazaar mailing list