How to use bazaar

From ODF::Wiki

Jump to: navigation, search

Here's a tutorial on how to handle our Bazaar repository:

Contents

[edit] Download an existing project

The following command will download the chosen project (PROJECT), which will require the password from your sourceforge-user (SF-ACCOUNT). After downloading you will be able to commit your changes.

bzr checkout bzr+ssh://<SF-ACCOUNT>@odf.bzr.sourceforge.net/bzrroot/odf/<PROJECT>

[edit] Uploading changes to a project

If you worked e.g. on d321go and would like to commit your changes, then execute this:

bzr commit -m "Your reason for editing..."

If you receive an error, you will have to execute "bzr update" first.

[edit] Uploading a new project

This will create a new branch you can pass over to the BZR server with the project name (PROJECT), permitted by your sf-account (SOURCEFORGE-ACCOUNT):

bzr init --1.14
bzr add
bzr commit -m "Your reason for this revision"
bzr push bzr+ssh://SOURCEFORGE-ACCOUNT@odf.bzr.sourceforge.net/bzrroot/odf/<PROJECT>

[edit] Get changes from other users

Before you commit any changes, you have to get the changes other users made while you worked on the project. Execute the following:

bzr update

I hope this helps! Thanks to Delk!

Personal tools