Bugzilla:Bzr: Difference between revisions

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


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:
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://bzr.mozilla.org/bugzilla/3.6
  bzr switch 3.6
  bzr up -r tag:bugzilla-3.6.1
  bzr up -r tag:bugzilla-3.6.1


canmove, Confirmed users
345

edits