Last active
September 23, 2015 04:31
-
-
Save flodolo/b8f84fb4a645495fe502 to your computer and use it in GitHub Desktop.
[Windows] Script to import mozilla-aurora changesets into l10n-central
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: 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