Start with Bazaar downloading.
In addition to Bazaar, the installer also contains Bazaar Explorer desktop app. It provides an easy-to-use interface for the version control system and bazaar svn plugin for Bazaar integration with Subversion repository.
Bazaar basic commands
- bzr whoami “Vasya Pupkin <firstname.lastname@example.org>” – transfers the username and email to Bazaar. In this case, your work will be correctly identified in the revision’s history;
- bzr whoami – displays data of the current user;
- mkdir myproject – creates a project named myproject and adds it to the repository;
- bzr init – provides Bazaar with the possibility to initialize the data in your project directory;
- bzr add – adds files to the repository;
- bzr commit – makes a commit with a description (comment). Example: bzr commit -m “Importing files”;
- bzr log – view the history of your branch;
- bzr push – publishes your branch;
- bzr branch – creates a copy of a branch;
- bzr push – publishes a branch via ssh. Example: bzr+ssh://@bazaar.launchpad.net//myproject;
- bzr merge – branch merging with the release;
- bzr diff – view changes after merging;
- bzr help – learn more about Bazaar;
- bzr help commands – learn more commands.
In addition to using the command line, you can use Bazaar Explore desktop app. You can open a project in it, view modified files, learn about conflicts, carry out a merge, find out the history of commits, etc.
Basic operations with Bazaar Explorer
- File > Open > Select the downloaded project and open it in Explorer.
- Before the commit you fix new files (by default they are not added to the commit) – this can be done by clicking on the “+” at the top of the list of new files.
- Before the commit you should make an update (the update button).
- You can commit the code by clicking on the “commit” button.
User settings in Bazaar Explorer
- Parameters > Settings > User settings > enter the necessary data.