4
High level upgrade process
5
--------------------------
7
In broad terms, there are 3 steps involved in upgrading a new format:
9
1. Upgrade the core software
11
2. Upgrade required plugins
13
3. Migrate data to the new default format.
15
Breezy supports branches in earlier formats so the third step is strictly not
16
required. However, when new default formats are introduced, they are more
17
space efficient, faster on large projects and/or provide new features. So it
18
is recommended that most projects migrate to it at a convenient time.
20
For most users, upgrading and migrating to the new format is straight
21
forward. For projects with a large community of developers though, things
22
become more complex. In these cases, careful planning and good communications
23
become essential. This document provides general advice which aims to assist
24
in this regard. If in doubt, please contact us on our mailing list or IRC
25
channel with any questions or concerns you have.
28
Upgrading the core software
29
---------------------------
31
The steps required to upgrade the core software vary from operating system to
32
operating system. A brief outline of the steps is given below.
34
To upgrade Breezy on Ubuntu:
36
1. Ensure your package manager is configured with the required software
37
sources, e.g. the official stable release PPA for Ubuntu:
38
https://launchpad.net/~brz/+archive
40
2. Use your package manager to upgrade to the latest version.
42
To upgrade Breezy on Windows:
44
1. Uninstall the existing version using Add/Remove Programs.
46
2. Install the new version using the relevant installer.
48
To upgrade Breezy on OS X (via the installer):
50
1. Install the new version using the relevant installer.
52
To upgrade Breezy on OS X (via MacPorts):
54
1. Refresh the package metadata using **sudo port selfupdate**
56
2. Upgrade to the latest version using **sudo port upgrade brz**
58
For further information on installing and upgrading, see
59
https://www.breezy-vcs.org/pages/download.html
62
Upgrading required plugins
63
--------------------------
65
Many plugins are not dependent on a particular Breezy version so
66
upgrading them is optional. Other plugins, notably bzr-svn, are more tightly
67
associated with Breezy's APIs so these typically need to be upgraded in
68
lockstep with the core software.
71
Migrating data to the new default format
72
----------------------------------------
74
As mentioned earlier, the complexity of migrating to a new format
75
depends on several factors, particularly project community size.
76
It also depends on how data is currently stored, e.g. in a
77
standalone branch, multiple branches in a shared repository,
78
stacked branches on Launchpad, etc. These various scenarios are
79
covered in the next chapter.