Six steps to using bzr

To collaborate more effectively on source packages, it would be wise to push your packages to the bzr repository. Now, as long as in your package you specify a link to the .orig tarball, then all you need to push is your debian/ sub-directory, containing the package source. I will outline how to do this. You must have your SSH key published in Launchpad, but that is beyond the scope of this document.

1. cd to your package source directory

2. Initialise the bzr repository.

3. Add the debian sub-directory to the repository.

4. I guess you would like to commit this change. This is the command to run when you want to commit any change.

5. To see a diff between revisions, run

6. Now push the repository out to Launchpad!

That's it! You've pushed your code out! Now you can do version control, revert mistakes, collaborate, or merge changes from another branch. Simple!

Remember, man bzr is a good reference.


This page was taken and modified slightly to generalise from UbuntuStudio/bzr

UsingBZR (last edited 2008-08-06 16:19:08 by localhost)