Skip to content

Instantly share code, notes, and snippets.

@sdwilsh
Created May 14, 2011 22:34
Show Gist options
  • Save sdwilsh/972707 to your computer and use it in GitHub Desktop.
Save sdwilsh/972707 to your computer and use it in GitHub Desktop.
Script to generate hg commands to push a set of changes to the try server
let changes = [
/* changes go here */
];
let commands = [];
changes.forEach(function(cset) {
commands.push("hg qpop -a");
commands.push("hg update -C " + cset);
commands.push("hg qpush");
commands.push("hg identify >> pushes.txt");
commands.push("hg push -f try");
});
commands.join(" && ");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment