anchor.diff:  echo Grabbing latest from source control
   hg pull
   
  -IF %errorlevel% NEQ 0 GOTO :EOF
  +IF %errorlevel% NEQ 0 GOTO ERROR
   
   :UPDATE
   IF DEFINED skipupdate GOTO BRANCH
  
positive.code: set buildconfig=""
  SHIFT & SHIFT
  
  IF "%rev%"=="" GOTO ERROR
  IF "%build%"=="prod" (
  	SET buildconfig=Release
  )
  IF "%build%"=="staging" (
  	SET buildconfig=Debug
  )
  IF "%buildconfig%"=="" GOTO ERROR
  
  REM Default option is to publish
  SET buildtargets=Clean;Build;Publish
  
negative.code: echo -skippull		Do not update from source control.
  echo.
  echo.
  GOTO :EOF
  
  :ERROR
  echo There was an error with the build.
  