Skip to content

Instantly share code, notes, and snippets.

@grenade
Created September 28, 2018 15:19
Show Gist options
  • Save grenade/59b1c4fbedf88333b08e594ea95aded6 to your computer and use it in GitHub Desktop.
Save grenade/59b1c4fbedf88333b08e594ea95aded6 to your computer and use it in GitHub Desktop.
#!/bin/bash
tip=ce24611f29dc
work_dir=~/hg/iso-to-ami-1703
commit_message="Bug 1474548 - test win10 1703 build 15063.296; try: -b do -p win64 -u all -t none"
hg robustcheckout --sharebase ~/hg/hg.m.o/m-u --purge --upstream https://hg.mozilla.org/mozilla-unified --revision ${tip} https://hg.mozilla.org/mozilla-central ${work_dir}
cd ${work_dir}
hg import https://hg.mozilla.org/try/raw-rev/8c6380ee0c4c --no-commit
hg commit -m ${commit_message}
hg push try -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment