bzr pull vs. bzr update
Juanma Barranquero
lekktu at gmail.com
Thu Dec 17 17:03:11 GMT 2009
On Thu, Dec 17, 2009 at 17:36, John Arbash Meinel
<john at arbash-meinel.com> wrote:
> branch + bind == checkout is correct. It just happens that the original
> "branch" command sets the parent pointer, while "bzr checkout" would not.
Isn't that a bit like saying, "they're absolutely identical... sort of"? ;-)
> It just isn't defaulted (as we don't
> specifically expect you to 'bzr pull' to update from the master, as we
> would expect you to use 'bzr up' for that.)
"bzr help checkouts" makes that expectation pretty clear. It just
fails to explain that pull also makes sense sometimes (a heavyweight
checkout is a branch, after all), and how they differ. The only
references to pull are these two:
If you are using a checkout from a shared branch you will
periodically want to
pull in all the changes made by others. This is done using the "update"
command.
[...]
Related commands:
[...]
update Pull any changes in the master branch in to your checkout
Isn't hard to read that as meaning that pull should not be used; at
least until you have a more thorough understanding of repositories vs.
branches vs. working copies on Bazaar.
Juanma
More information about the bazaar
mailing list