Skip to content

Instantly share code, notes, and snippets.

@bgrins
Created November 2, 2016 21:23
Show Gist options
  • Save bgrins/45e757e50b8b3272689952a6a198e288 to your computer and use it in GitHub Desktop.
Save bgrins/45e757e50b8b3272689952a6a198e288 to your computer and use it in GitHub Desktop.
Pulling from central but pushing to inbound
[paths]
default = https://hg.mozilla.org/mozilla-central
default-push = /push/to/inbound
inbound = ssh://hg.mozilla.org/integration/mozilla-inbound
try = ssh://hg.mozilla.org/try
central = ssh://hg.mozilla.org/mozilla-central/
review = ssh://reviewboard-hg.mozilla.org/gecko
# Pull from central a fresh checkout
hg pull -u central
# Pull from inbound to get ready to push
hg pull -u inbound
# Now apply a commit somehow..
# Check that the correct thing is being pushed
hg out -r . inbound
# Actually push
hg push -r . inbound
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment