Bazaar for Monotone users

Core tasks

“How are common Monotone tasks done in Bazaar?”

Getting a checkout

mtn:

$ mtn clone somemachine.com com.somemachine.branch.name

bzr:

$ bzr branch http://somemachine.com/this/directory/here

Updating a checkout

mtn:

$ cd codebase/
$ mtn pull
$ mtn update

bzr:

$ cd codebase/
$ bzr update

Seeing how a working tree has changed since the last commit

mtn:

$ mtn status
[see a list of files that have changed]
$ mtn pull
$ mtn log --next 100
[see a list of the next 100 new revisions in this branch]
$ mtn diff
[see a diff of how files have changed]

bzr:

$ bzr status
[see a list of files that have changed]
$ bzr missing
[see a list of new revisions in the parent branch]
$ bzr diff
[see a diff of how files have changed]

In both of these cases, you’ll get a diff that you can review prior to commit.

Committing code in a checkout

mtn:

$ mtn commit -m'some description of whats being committed.'

bzr:

$ bzr commit -m'some description of whats being committed.'

In both of these cases, the new changes will be saved to either the local database (Monotone) or branch (Bazaar).

Network protocols

“How do network URLs differ?”

To be completed ...

Revisions

How do revision identifiers differ?

To be completed ...

Other commands

“How are the more advanced mtn commands done in Bazaar?”

To be completed ...

Notes

“What else is worth knowing to get up to speed?”

To be completed ...

Feedback and edits

See Improving these documents.