Created
May 14, 2011 22:34
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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