[DRAFT][RFC] Migrating to rich roots

Martin Albisetti argentina at gmail.com
Wed May 13 22:03:12 BST 2009


So, Matt Nordhoff figured out a better plan for Launchpad, which
preserved current stacked branches from breaking.
The result is that we now have Loggerhead's trunk in 1.9-rich-root,
and all current stacked branches still work!

This is what we did for Loggerhead:

$ bzr branch lp:~loggerhead-team/loggerhead/trunk
$ cd trunk
$ bzr reconcile
# Use +junk to avoid LP's default stacking policy. Also, teams cannot
own +junk branches.
$ bzr push lp:~mnordhoff/+junk/trunk
$ bzr upgrade --1.9-rich-root
$ bzr reconcile
LP: Rename ~loggerhead-team/loggerhead/trunk to ~mnordhoff/+junk/trunk-rich
LP: Rename ~mnordhoff/+junk/trunk to ~loggerhead-team/loggerhead/trunk
$ hitchhiker lp:~mnordhoff/+junk/trunk-rich rename backup.bzr .bzr/backup.bzr
$ hitchhiker lp:~mnordhoff/+junk/trunk-rich rename .bzr backup.bzr
$ bzr push --use-existing-dir lp:~mnordhoff/+junk/trunk-rich
LP: Rename ~mnordhoff/+junk/trunk-rich to ~loggerhead-team/loggerhead/trunk-rich

Lines that start with "$" are shell commands.
Lines that start with "LP:" are instructions for Launchpad's web UI.
Lines that start with "#" are comments, duh.

To get hitchhiker, bzr branch lp:hitchhiker.

-- 
Martin



More information about the bazaar mailing list