Jetpack/Integration Process: Difference between revisions
< Jetpack
Jump to navigation
Jump to search
(Created page with "This page should include instructions on updating mozilla central with the latest version of the SDK code. = Updating up the local clone = == If you haven't checked out from me...") |
|||
| Line 17: | Line 17: | ||
== If you have previously done the above == | == If you have previously done the above == | ||
cd mozilla | |||
hg pull -u | |||
cd addon-sdk/source | cd addon-sdk/source | ||
git pull origin integration | git pull origin integration | ||
Updates the SDK files to the latest versions from the integration branch. | Updates the mozilla-central and SDK files to the latest versions from the integration branch. | ||
== Viewing and committing changes == | == Viewing and committing changes == | ||
Revision as of 22:09, 12 December 2012
This page should include instructions on updating mozilla central with the latest version of the SDK code.
Updating up the local clone
If you haven't checked out from mercurial before
hg clone https://hg.mozilla.org/projects/larch/ mozilla cd mozilla/addon-sdk/source git init git remote add origin https://github.com/mozilla/addon-sdk.git git fetch origin git branch --track integration refs/remotes/origin/integration git reset --hard integration
This will give you the latest mozilla-central code and update the SDK files to the latest versions from the integration branch.
If you have previously done the above
cd mozilla hg pull -u cd addon-sdk/source git pull origin integration
Updates the mozilla-central and SDK files to the latest versions from the integration branch.
Viewing and committing changes
hg diff
Shows the list of changes waiting to land in mozilla-central
hg commit -m "..."
Commits the changes
hg push ssh://hg.mozilla.org/projects/larch/
Pushes the changes to the test branch.
TODO: Add notes on pushing to try first.