< prev index next >

./get_source.sh

Print this page




  80   error "Could not determine Mercurial version of $hgwhere from \"$hgversion\""
  81 fi
  82 
  83 
  84 # Require
  85 if [ $hgmajor -lt $reqdmajor -o \( $hgmajor -eq $reqdmajor -a $hgminor -lt $reqdminor \) -o \( $hgmajor -eq $reqdmajor -a $hgminor -eq $reqdminor -a $hgrev -lt $reqdrev \) ] ; then
  86   error "Mercurial version $reqdmajor.$reqdminor.$reqdrev or later is required. $hgwhere is version $hgversion"
  87 fi
  88 
  89 
  90 # Request
  91 if [ $hgmajor -lt $rqstmajor -o \( $hgmajor -eq $rqstmajor -a $hgminor -lt $rqstminor \) -o \( $hgmajor -eq $rqstmajor -a $hgminor -eq $rqstminor -a $hgrev -lt $rqstrev \) ] ; then
  92   warning "Mercurial version $rqstmajor.$rqstminor.$rqstrev or later is recommended. $hgwhere is version $hgversion"
  93 fi
  94 
  95 
  96 # Get clones of all absent nested repositories (harmless if already exist)
  97 sh ./common/bin/hgforest.sh clone "$@" || exit $?
  98 
  99 # Update all existing repositories to the latest sources
 100 sh ./common/bin/hgforest.sh pull -u


  80   error "Could not determine Mercurial version of $hgwhere from \"$hgversion\""
  81 fi
  82 
  83 
  84 # Require
  85 if [ $hgmajor -lt $reqdmajor -o \( $hgmajor -eq $reqdmajor -a $hgminor -lt $reqdminor \) -o \( $hgmajor -eq $reqdmajor -a $hgminor -eq $reqdminor -a $hgrev -lt $reqdrev \) ] ; then
  86   error "Mercurial version $reqdmajor.$reqdminor.$reqdrev or later is required. $hgwhere is version $hgversion"
  87 fi
  88 
  89 
  90 # Request
  91 if [ $hgmajor -lt $rqstmajor -o \( $hgmajor -eq $rqstmajor -a $hgminor -lt $rqstminor \) -o \( $hgmajor -eq $rqstmajor -a $hgminor -eq $rqstminor -a $hgrev -lt $rqstrev \) ] ; then
  92   warning "Mercurial version $rqstmajor.$rqstminor.$rqstrev or later is recommended. $hgwhere is version $hgversion"
  93 fi
  94 
  95 
  96 # Get clones of all absent nested repositories (harmless if already exist)
  97 sh ./common/bin/hgforest.sh clone "$@" || exit $?
  98 
  99 # Update all existing repositories to the latest sources
 100 sh ./common/bin/hgforest.sh pull
< prev index next >