Skip to content

Instantly share code, notes, and snippets.

@pstorch
Created September 25, 2015 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pstorch/996932c8561c6beadc53 to your computer and use it in GitHub Desktop.
Save pstorch/996932c8561c6beadc53 to your computer and use it in GitHub Desktop.
Recursivly update all hg repos in a folder
#!/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