Skip to content

Instantly share code, notes, and snippets.

@flodolo
Last active September 23, 2015 04:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flodolo/b8f84fb4a645495fe502 to your computer and use it in GitHub Desktop.
Save flodolo/b8f84fb4a645495fe502 to your computer and use it in GitHub Desktop.
[Windows] Script to import mozilla-aurora changesets into l10n-central
:: Update l10n-central repository with mozilla-aurora changesets.
:: Script for Windows. Save as .cmd file, install TortoiseHg or Mercurial
:: to have hg available from command line.
# CONFIGURE THESE PATHS FOR YOUR SYSTEM
Set aurora_repo="c:\repos\mozilla-aurora-clone"
Set central_repo="c:\repos\l10n-central-clone"
:: Make sure mozilla-aurora local clone is up to date
hg pull -R %aurora_repo% -u default
:: Make sure l10n-central local clone is up to date
hg pull -R %central_repo% -u default
:: Import mozilla-aurora changesets, update and push to remote
cd %central_repo%
hg pull -r default %aurora_repo%
hg update
hg push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment