Created
May 18, 2011 14:30
-
-
Save smerrill/978683 to your computer and use it in GitHub Desktop.
The best part of waking up?
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
#!/bin/bash | |
for i in `hg heads . | grep changeset: | awk '{ print $2; }' | egrep -o '^[0-9]+' | sort -n`; do | |
hg merge $i; | |
hg commit -m "Merge of doom."; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment