Created
September 23, 2015 04:35
-
-
Save flodolo/3bf48f1d1dff5d9a6586 to your computer and use it in GitHub Desktop.
[Linux] 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
#! /usr/bin/env bash | |
# Update l10n-central repository with mozilla-aurora changesets. | |
# Script for Linux/OS X. | |
# CONFIGURE THESE PATHS FOR YOUR SYSTEM | |
aurora_repo="/repos/mozilla-aurora-clone" | |
central_repo="/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 | |
hg pull -R $central_repo -r default $aurora_repo | |
hg update -R $central_repo | |
hg push -R $central_repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment