Commits

Vincent Hillenbrink  committed 40146eb

Added hgfetchall

  • Participants
  • Parent commits 4f00092

Comments (0)

Files changed (2)

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

File scripts/djenvlib

     initenv $*
     [ $? -eq 1 ] && djexit && return 1
 
-    cdjango
+    cdroot
 
     return 0
 }