Checkouts and pull

John Arbash Meinel john at arbash-meinel.com
Mon Apr 6 19:11:19 BST 2009


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

Aaron Bentley wrote:
> Jelmer Vernooij wrote:
>> Russel Winder wrote:
>>> When a branch is bound is "bzr pull" the same as "bzr update" ?
>>>
>> Only when the pull is pulling from the master branch afaik.
> 
> Also only if there are no local commits.
> 
> Pull completely ignores the fact that there *is* a master branch, and
> this is a bug.  I think it should pull into the master branch, then
> update the checkout, because that would be consistent with lightweight
> checkouts and other commands.
> 
> Aaron

Actually, this is not true. Pull in a heavy checkout does exactly that.
It updates the master branch.

pull actually special cases the 'fetching from master branch' case (I
think this is actually done for update(), because it uses pull() under
the covers.)

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknaRccACgkQJdeBCYSNAANRSACePe+/VUZJDyesGS2GppLCPObG
2dYAoLJEIjXndOsUSEFQ0ZlZ4MhnWC/I
=kLE0
-----END PGP SIGNATURE-----



More information about the bazaar mailing list