Last active
August 29, 2015 14:04
-
-
Save nootanghimire/a34d102775315033ac25 to your computer and use it in GitHub Desktop.
pull hg repo changeset-by-changeset
This file contains hidden or 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 | |
i=$(<config-a-bash-b) | |
while [ $i -lt 195225 ] | |
do | |
echo "Executing: hg pull --rev $i" | |
hg pull --rev $i | |
i=$[$i+100] | |
echo "$i" > config-a-bash-b | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment