Skip to content

Instantly share code, notes, and snippets.

@flodolo
Created September 23, 2015 04:35
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/3bf48f1d1dff5d9a6586 to your computer and use it in GitHub Desktop.
Save flodolo/3bf48f1d1dff5d9a6586 to your computer and use it in GitHub Desktop.
[Linux] Script to import mozilla-aurora changesets into l10n-central
#! /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