anchor.diff:  :cleanArcPatches
   echo ==== cleanArcPatches %cd% ====
   pushd SDKGenerator\JenkinsConsoleUtility\JenkinsScripts
  -call delArcPatches.sh "%SHARED_WORKSPACE%\pf-main"
  +call delArcPatches.sh "%SHARED_WORKSPACE%\%EXECUTOR_NUMBER%\pf-main"
   call delArcPatches.sh "%WORKSPACE%\SDKGenerator"
   call delArcPatches.sh "%WORKSPACE%\sdks\%SdkName%"
   echo ==== cleanArcPatches Done ====
  
positive.code: :applyArcPatch
  echo ==== applyArcPatch %PatchRepoName% %SdkName% ====
  if [%PatchRepoName%]==[pf-main] (
      cd "%SHARED_WORKSPACE%\%PatchRepoName%"
      echo ==== arc patching pf-main ====
      @echo on
      call arc patch %DIFF_NUMBER% --conduit-token %JENKINS_PHAB_TOKEN%
  
negative.code: setlocal
  
  if ["%SHARED_WORKSPACE%"]==[""] (
      set SHARED_WORKSPACE=%WORKSPACE%\..\shared
  )
  
  call :forceCD "%SHARED_WORKSPACE%\%EXECUTOR_NUMBER%"
  call :syncRepo pf-main
  call :forceCD "%WORKSPACE%"
  call :syncRepo SDKGenerator
  