Services/Sync/Getting Started
Jump to navigation
Jump to search
Getting started with Sync
Prerequisites
Configure Mercurial
Put the following in your ~/.hgrc:
[ui] username = Your Name <you@mozilla.com> [extensions] hgext.mq =
[diff] git = 1 unified = 8
[defaults] diff = -pU8 qdiff = -pU8 qnew = -U qseries = -sv
You can also add the following to ~/.hg/hgrc:
[paths] default = http://hg.mozilla.org/services/ default-push = ssh://hg.mozilla.org/services/
Check out the Mercurial repos you'll need
mkdir -p ~/moz/hg/services cd ~/moz/hg/services for x in \ admin-scripts fx-home fx-sync-tools loadtest reg-server server-core \ server-key-exchange server-storage dashboard fx-sync internal_dash \ minimal-server reg-server-secure server-full server-reg sync-server do hg clone ssh://hg.mozilla.org/services/$x done
Check out Mozilla Central, too.
cd ~/moz/hg hg clone ssh://hg.mozilla.org/mozilla-central