Table of Contents

Home

Project

Notes on Using Bazaar/Launchpad

New releases

SOFA Website Notes

New series

Useful Commands

bzr add #Add specified files or directories.

bzr status

bzr diff

bzr remove # put copy in “SOFA/storage/sofa_main_on_hold” first. Could use –keep but don't want confusion http://doc.bazaar.canonical.com/latest/en/user-reference/remove-help.html

bzr push # will use previous location

bzr ls -V - lists all versioned files (if any are missing just use add)

First time

Set up initial local repository

bzr init-repo sofa.repo #Create a shared repository to hold branches.

cd sofa.repo

bzr init sofa.main #Create a shared repository to hold branches.

cd sofa.main

bzr add

bzr commit -m “Initial import”

Push from local to central repository

cd ~/projects/SOFA/sofastatistics/sofa.repo/sofa.main

bzr launchpad-login launchpad-p-s

bzr push lp:~launchpad-p-s/sofastatistics/main –use-existing-dir

NB if you have used a passphrase when setting up your private/public keys, you will need to supply it when asked - NOT your normal Ubuntu password :-)