anchor.diff:  	set ConfigFile=extensions/WikiConfig/Extensions.conf
   	set BranchVer=false
   	set ThisHomeDir=%cd%
  +	echo ThisHomeDir: %ThisHomeDir%
   	
   :startloopp
   	if "%1"=="" goto loopparams
  
positive.code: :parseit
  	if exist "extensions/%1/.git" (
  		if "%BranchVer%" NEQ "false" (
  			pushd "extensions/%1"
  			echo branching: %BranchVer% >>ExtensionLoader.log
  			echo @git checkout -B %BranchVer% origin/%BranchVer% 
  			echo @git checkout -B %BranchVer% origin/%BranchVer% >>"%ThisHomeDir%/ExtensionLoader.log"
  			@git checkout -B %BranchVer% origin/%BranchVer% >>"%ThisHomeDir%/ExtensionLoader.log"
  			popd
  		)
  	) else (
  		if "%BranchVer%" == "false" (
  			set CheckoutStatus=
  		) else (
  			set CheckoutStatus=-b %BranchVer%
  		)
  		@git clone -n "%ExtensionsAddr%/extensions/%1.git" "extensions/%1"
  		if exist extensions/%1/.git (
  			pushd "extensions/%1"
  			echo branching: %BranchVer% >>ExtensionLoader.log
  			echo @git checkout -B %BranchVer% origin/%BranchVer% 
  			echo @git checkout -B %BranchVer% origin/%BranchVer% >>"%ThisHomeDir%/ExtensionLoader.log"
  			@git checkout -B %BranchVer% origin/%BranchVer% >>"%ThisHomeDir%/ExtensionLoader.log"
  			popd
  			Echo Adding Submodule %1
  			Echo Adding Submodule %1 >>ExtensionLoader.log
  			echo @git submodule add  %CheckoutStatus%  --force "%ExtensionsAddr%/extensions/%1.git"  "extensions/%1"
  			echo @git submodule add  %CheckoutStatus%  --force "%ExtensionsAddr%/extensions/%1.git"  "extensions/%1" >>"%ThisHomeDir%/ExtensionLoader.log"
  			@git submodule add %CheckoutStatus% --force "%ExtensionsAddr%/extensions/%1.git" "extensions/%1"
  			call :gitreview %1
  		)
  	)
  
negative.code: goto :EOF
  
  :onlyreview
  	git-review -s -r -origin
  goto :EOF
  
  :ended