Created
September 25, 2015 07:42
-
-
Save pstorch/996932c8561c6beadc53 to your computer and use it in GitHub Desktop.
Recursivly update all hg repos in a folder
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 f in *; do | |
if [ -d "$f" ]; then | |
hg pull -u -R "$f" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment