Source

django-environments / scripts / djenv.mercurial

Diff from to

File scripts/djenv.mercurial

     for external in $PROJECT_ROOT/externals/*; do
         if [ -d $external/.hg ]; then
             echo `basename $external`:
+            IFS=''
             hg -R $external $*
             echo
         fi
     done
 }
 
+# Pull and update the project and all Mercurial externals
+function hgfetchall() {
+    hg -R $PROJECT_ROOT pull -u
+    echo
+    hgexternals pull -u
+}
+
 # List all .orig files
 function hgfindorig() {
     find $PROJECT_ROOT -name \*.orig -l