Commits

Vincent Hillenbrink  committed 4f00092

foo

  • Participants
  • Parent commits 5cb6bca

Comments (0)

Files changed (1)

File scripts/djenv.mercurial

     fi
 }
 
+# Runs an hg command on all hg repositories in the externals directory,
+# e.g. 'hgexternals pull -u'
+function hgexternals {
+    for external in $PROJECT_ROOT/externals/*; do
+        if [ -d $external/.hg ]; then
+            echo `basename $external`:
+            hg -R $external $*
+            echo
+        fi
+    done
+}
+
 # List all .orig files
 function hgfindorig() {
     find $PROJECT_ROOT -name \*.orig -l