Obviously bzr clone, bzr branch and bzr checkout all do the same thing when given an URL as parameter and executed in a non-bzr directory.
Is there any difference for later Bazaar workflow? i.e. bzr commit, bzr update and friends.
Join Stack Overflow to learn, share knowledge, and build your career.
|
Obviously Is there any difference for later Bazaar workflow? i.e. |
||||
|
Branching and cloning are the same, but branching and checkouts are not the same. $ bzr help branch ... Aliases: get, clone See also: checkout Looking over the Checkout Tutorial, you'll see that a checkout essentially binds every action you take directly to the branch. So anything you do is essentially
|
|||||||||||||||||
|
|
Update: according to the comment, |
|||||||||
|
|
As the other posters have said, "bzr checkout" is a superset of "bzr clone/branch", in that "bzr checkout" creates a bound branch. Bound branches pull from the source repo whenever an update operation is performed and push to the source repo whenever a commit is performed. To bind a cloned branch or unbind a checked-out branch, use "bzr bind"/"bzr unbind". |
|||
|
|
bzr clone. Right now it's an alias ofbzr branchbut in the future it could be changed to do different thing. – bialix Jun 5 '10 at 16:38