Using Bazaar

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search

Open Terminal in Ubuntu

fablab@fablab-desktop:~/Desktop$ cd academy

Install bzr by writing:

  • sudo apt-get install bzr

Branch Fab Academy site

Pull

  • bzr pull

Set an email address via bzr whoami. This is the simplest way.To set a global identity, use:

  • bzr whoami "Your Name <email@example.com>" [1]

Change some of the files in the archive

  • bzr status

The status command tells you what changes have been made to the working directory since the last revision:

bzr merge

bzr branch sftp://academy@fab.cba.mit.edu:846/archive academy
cd academy/
bzr visualize
bzr status
bzr commit -m "This is text to explain the changes"
bzr push sftp://academy@fab.cba.mit.edu:846/archive
bzr push
bzr help diverged-branches
bzr merge
bzr status
bzr add
bzr status
bzr commit -m "Text for log file"
bzr push
bzr resolve