Jetpack/Integration Process: Difference between revisions
< Jetpack
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
== If you haven't checked out from mercurial before == | == If you haven't checked out from mercurial before == | ||
hg clone https://hg.mozilla.org/projects/larch/ | hg clone https://hg.mozilla.org/projects/larch/ larch | ||
cd | cd larch/addon-sdk/source | ||
git init | git init | ||
git remote add origin https://github.com/mozilla/addon-sdk.git | git remote add origin https://github.com/mozilla/addon-sdk.git | ||
| Line 13: | Line 13: | ||
git reset --hard integration | git reset --hard integration | ||
This will give you the latest | This will give you the latest larch code and update the SDK files to the latest versions from the integration branch. | ||
== If you have previously done the above == | == If you have previously done the above == | ||
Revision as of 23:02, 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/ larch cd larch/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 larch 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.