Skip to content

Instantly share code, notes, and snippets.

@elecnix
Created December 21, 2016 15:58
Show Gist options
  • Save elecnix/0f138376e1bba590ce5867a5ecff48d7 to your computer and use it in GitHub Desktop.
Save elecnix/0f138376e1bba590ce5867a5ecff48d7 to your computer and use it in GitHub Desktop.
#!/bin/bash
repos=$(ls ~/repos)
for repo in $repos ; do
if [ -d ~/repos/$repo/.hg ] ; then
echo -e "\e[93m$repo\e[0m"
hg --cwd ~/repos/$repo qseries -v -s
if [ -d ~/repos/$repo/intelebase/.hg ] ; then
hg --cwd ~/repos/$repo/intelebase qseries -v -s
fi
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment