anchor.diff:  set buildconfig=""
   SHIFT & SHIFT
   
  -IF "%rev%"=="" GOTO ERROR
  +IF "%rev%"=="" GOTO INVALIDPARAMS
   IF "%build%"=="prod" (
   	SET buildconfig=Release
   )
   IF "%build%"=="staging" (
   	SET buildconfig=Debug
   )
  -IF "%buildconfig%"=="" GOTO ERROR
  +IF "%buildconfig%"=="" GOTO INVALIDPARAMS
   
   REM Default option is to publish
   SET buildtargets=Clean;Build;Publish
  
positive.code: echo -skippull		Do not update from source control.
  echo.
  echo.
  
negative.code: echo Updating to last changeset 
  hg update -C
  
  IF %errorlevel% NEQ 0 GOTO ERROR
  
  :BRANCH
  echo.
  echo Changing to branch %branchname%
  hg update %branchname%
  
  IF %errorlevel% NEQ 0 GOTO ERROR
  
  :BUILD
  echo Building...
  