Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[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
You can’t perform that action at this time.