canmove, Confirmed users
345
edits
m (→Major Updates) |
|||
Line 53: | Line 53: | ||
== Major Updates == | == Major Updates == | ||
If you are updating from one ''major'' release to another (like from 3.4.x to 3.6.x), then the simplest method for upgrading is | If you are updating from one ''major'' release to another (like from 3.4.x to 3.6.x), then the simplest method for upgrading is to run the following commands: | ||
bzr switch | bzr switch bzr://bzr.mozilla.org/bugzilla/(major version) | ||
bzr up -r tag:bugzilla-(full version) | |||
Where ''( | Where ''(major version)'' is the first two numbers in the version (so, if you were updating to 3.6.1, the "major version" would be <code>3.6</code>) and ''(full version)'' is the whole version number you want to update to (<code>3.6.1</code>, if you were updating to 3.6.1). So, for example, to update from 3.4.6 to 3.6.1, you would do: | ||
bzr switch | bzr switch bzr://bzr.mozilla.org/bugzilla/3.6 | ||
bzr up -r tag:bugzilla-3.6.1 | |||
However, '''if you have committed customizations to your bugzilla directory using bzr commit --local, or used "bzr branch" to check out instead of "bzr checkout", "bzr switch" does not work and should not be used.''' Instead, you should follow the instructions at [[Bugzilla:Bzr:Porting_Forward_Customizations]]. | However, '''if you have committed customizations to your bugzilla directory using bzr commit --local, or used "bzr branch" to check out instead of "bzr checkout", "bzr switch" does not work and should not be used.''' Instead, you should follow the instructions at [[Bugzilla:Bzr:Porting_Forward_Customizations]]. |