Commits

Anonymous committed f9e97f9

Fixed ci -m issue with hgexternals and added default screen for hgserve

Comments (0)

Files changed (1)

scripts/djenv.mercurial

         cd $cwd
     fi
 
-    [ ! -z "$1" ] && open http://localhost:$hgport/$1
+    [ ! "$1" = "--no-open" ] && open http://localhost:$hgport/$1
 }
 
 function hgbrowse() {
-    hgserve
+    hgserve --no-open
 
     path=file/tip`echo \`pwd\` | sed "s#$PROJECT_ROOT##"`
     [ ! -z "$1" ] && path=$path/$1
     for external in $PROJECT_ROOT/externals/*; do
         if [ -d $external/.hg ]; then
             echo `basename $external`:
-            IFS=''
+            IFS='' # magic
             hg -R $external $*
             echo
         fi