anchor.diff:  set mmversion=""
   set YYYYMMDD=""
   set TARGETNAME=""
  +set BUILDVERSION=""
   call buildscripts\setmmversionvariable
   call buildscripts\setyyyymmddvariable
   pushd .\mmstudio\src\org\micromanager
  
positive.code: popd
  
  svn cleanup --non-interactive
  
  :UPDATEMMTREE
  echo update micromanager tree from the repository
  
negative.code: rem arg2 is either RELEASE OR NIGHTLY
  if "%2%" == "RELEASE" goto releaseversion
  set TARGETNAME=MMSetup32BIT_%mmversion%_%YYYYMMDD%.exe
  set BUILDVERSION=Micro-Manager %mmversion% %YYYYMMDD%
  goto continuebuild
  :releaseversion
  set TARGETNAME=MMSetup32BIT_%mmversion%.exe
  set BUILDVERSION=Micro-Manager %mmversion%
  :continuebuild
  popd
  echo %BUILDVERSION% > buildversion.txt
  
  rem remove any installer package with exactly the same name as the current output
  echo trying to delete \Projects\micromanager\Install_Win32\Output\MMSetup_.exe 
  