Experience upgrading to 1.9

Martin Albisetti argentina at gmail.com
Thu Jan 1 22:08:48 GMT 2009


Hello hello,

I wanted to drop a quick email with my experience upgrading 170+
branches from 0.92 to 1.9 format:

- Disk space usage is down by ~15-20%
- Most operations seem faster, but I don't have any hard numbers yet
- Upgrading was *very* fast in comparison to knits -> packs
- I used a plugin[1] written by jelmer which adds a --recurse option
to "bzr upgrade", which I tweaked[2] to add a flag to delete the
backup.bzr dir right after upgrade (didn't have enough disk space to
have all repos twice)
- Some of the branches are over 2 years old, and have gone through
quite a few upgrades and operating systems. I found that some of them
had files that blew up in bzr because of encoding issues on the
filenames, so I made a dirty hack to ignore them so I could do the
mass-upgrade. I haven't followed up on what's causing the encoding
problem, but I do know that the files are on the working tree, that
most of them where committed at some point and now ignored, and that
they have letters with accents.


[1] http://people.samba.org/bzr/jelmer/bzr-recursive-upgrade/trunk/
[2] https://code.launchpad.net/~beuno/bzr/upgrade-recurse
[3] https://code.launchpad.net/~beuno/+junk/bzr-recurse

-- 
Martin



More information about the bazaar mailing list