Bugzilla:Bzr: Difference between revisions

Jump to navigation Jump to search
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 -r tag:bugzilla-(full version) bzr://bzr.mozilla.org/bugzilla/(major version)
  bzr switch bzr://bzr.mozilla.org/bugzilla/(major version)
bzr up -r tag:bugzilla-(full version)


Where ''(full version)'' is the whole version number you want to update to (like <code>3.6.1</code>) and ''(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>.) So, for example, to update from 3.4.6 to 3.6.1, you would do:
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 -r tag:bugzilla-3.6.1 bzr://bzr.mozilla.org/bugzilla/3.6
  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]].
canmove, Confirmed users
345

edits

Navigation menu