Search code examples
dvcsbazaar

bzr checkout vs. bzr get


I wonder what the difference is between

bzr checkout ./MyProject MyProject.dev
# later followed by a
cd MyProject.dev
bzr pull ../MyProject

and

bzr get ./MyProject MyProject.dev
# later followed by
cd MyProject.dev
bzr pull

As far I can tell the only difference is:

  1. bzr get sets the pull location.
  2. bzr checkout doesn't set the pull location, so it must be specified the first time you pull.

Are there other differences?


Solution

  • bzr get creates a branch, whereas bzr checkout creates a checkout. With a checkout, any revisions you commit to MyProject.dev will also be committed to MyProject.

    For more detail, see the checkout tutorial.