Launchpad: Difference between revisions
From SpaceElevatorWiki.com
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== bzr Setup == | == bzr Setup == | ||
sudo apt-get install bzr (if running | sudo apt-get install bzr (if running Ubuntu/Debian) | ||
For Windblow$e, http://bazaar-vcs.org/WindowsDownloads | For Windblow$e, http://bazaar-vcs.org/WindowsDownloads | ||
bzr whoami "Keith Curtis <keithcu@gmail.com>" | bzr whoami "Keith Curtis <keithcu@gmail.com>" | ||
bzr launchpad-login keithcu | |||
bzr launchpad-login keithcu | |||
== Here is a basic workflow I used to get started == | == Here is a basic workflow I used to get started == | ||
'''Get trunk and create work branch''' | '''Get trunk and create work branch''' | ||
bzr branch lp:openracing trunk (put the default openracing branch called trunk into a directory trunk) | bzr branch lp:openracing trunk (put the default openracing branch called trunk into a directory trunk) | ||
bzr branch trunk work (make work branch) | |||
bzr branch trunk work (make work branch) | cd work | ||
bzr push lp:~keithcu/openracing/work (This creates a remote branch on the server called work for you to work with) | |||
cd work | |||
bzr push lp:~keithcu/openracing/work (This creates a remote branch on the server called work for you to work with) | |||
'''Party like crazy''' | '''Party like crazy''' | ||
Line 23: | Line 19: | ||
(bzr add will add your .hg directory if you aren't careful! bzr revert throws them away) | (bzr add will add your .hg directory if you aren't careful! bzr revert throws them away) | ||
bzr commit -m "Party like it's 1929" | bzr commit -m "Party like it's 1929" | ||
bzr push lp:~keithcu/openracing/work (to push your changes to the remote server -- not strictly necessary, but it lets others pull from them, and backs your changes up in case your computer dies.) | |||
bzr push lp:~keithcu/openracing/work (to push your changes to the remote server -- not strictly necessary, but it lets others pull from them, and backs your changes up in case your computer dies.) | |||
'''Apply changes to trunk''' | '''Apply changes to trunk''' | ||
cd ../trunk | cd ../trunk | ||
bzr merge ../work | |||
bzr merge ../work | bzr commit -m "Applying work to trunk" | ||
bzr push lp:openracing | |||
bzr commit -m "Applying work to trunk" | |||
bzr push lp:openracing | |||
'''Get your work branch up to date''' | '''Get your work branch up to date''' | ||
cd work | cd work | ||
bzr merge lp:openracing | |||
bzr merge lp:openracing | |||
'''Docs''' | '''Docs''' |
Revision as of 18:34, 24 February 2009
bzr Setup
sudo apt-get install bzr (if running Ubuntu/Debian)
For Windblow$e, http://bazaar-vcs.org/WindowsDownloads
bzr whoami "Keith Curtis <keithcu@gmail.com>" bzr launchpad-login keithcu
Here is a basic workflow I used to get started
Get trunk and create work branch
bzr branch lp:openracing trunk (put the default openracing branch called trunk into a directory trunk) bzr branch trunk work (make work branch) cd work bzr push lp:~keithcu/openracing/work (This creates a remote branch on the server called work for you to work with)
Party like crazy
(bzr add will add your .hg directory if you aren't careful! bzr revert throws them away)
bzr commit -m "Party like it's 1929" bzr push lp:~keithcu/openracing/work (to push your changes to the remote server -- not strictly necessary, but it lets others pull from them, and backs your changes up in case your computer dies.)
Apply changes to trunk
cd ../trunk bzr merge ../work bzr commit -m "Applying work to trunk" bzr push lp:openracing
Get your work branch up to date
cd work bzr merge lp:openracing
Docs
Here are some notes but they aren't that helpful because they don't assume launchpad http://doc.bazaar-vcs.org/latest/en/mini-tutorial/index.html
Longer doc: http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html