anchor.diff:  if not "%FLAG%" == "" (
     if "%FLAG%" == "-stat-exclude-?" (
       set FLAG_SVN_STATUS_EXCLUDE_?=1
  +    set "FLAG_TEXT_SVN_STATUS_INCLUDE_?="
  +    set "FLAG_TEXT_SVN_STATUS_EXCLUDE_?=?"
  +  ) else if "%FLAG%" == "-stat-include-X" (
  +    set FLAG_SVN_STATUS_INCLUDE_X=1
  +    set "FLAG_TEXT_SVN_STATUS_INCLUDE_X=X"
  +    set "FLAG_TEXT_SVN_STATUS_EXCLUDE_X="
     ) else if "%FLAG%" == "-r" (
       set FLAG_SVN_EXTERNALS_RECURSIVE=1
       set "FLAG_TEXT_SVN_IGNORE_EXTERNALS="
  
positive.code: rem So instead of call to the script you must check unversioned items in the parent path through the shell.
  
  rem always use not empty first filter
  set FINDSTR_EXP_FIRST_FILTER= ^| findstr.exe /R /C:"^[ ACDIMR?!~][ CM][ L][ +][ SX][ K][ KOTB][ C]."
  set "FINDSTR_EXP_SECOND_FILTER="
  if %FLAG_SVN_STATUS_EXCLUDE_?% NEQ 0 (
    set FINDSTR_EXP_SECOND_FILTER= ^| findstr.exe /R /C:"^[^?]"
  ) else if %FLAG_SVN_STATUS_EXCLUDE_VERSIONED% NEQ 0 (
    set FINDSTR_EXP_SECOND_FILTER= ^| findstr.exe /R /C:"^?"
  )
  
  set "SVN_STATUS_FILE_PATH=%DIR_PATH_PREFIX%"
  
negative.code: rem   items.
  
  rem Flags:
  rem  -r - process externals recursively.
  rem  -stat-exclude-? - exclude status lines for items not under version
  rem     control (? prefixed) from "svn status" output.
  rem  -stat-include-X - include status lines for unversioned directories created
  rem     by an externals definition (X prefixed) from "svn status" output.
  rem  -stat-exclude-versioned - exclude status lines for versioned files
  rem     (not ? or X prefixed) from "svn status" output.
  rem  By default, script does not print externals definition status lines
  rem  (X prefixed) and does not use recursion on them.
  
  rem Examples:
  rem 1. call svn_has_changes.bat branch/current subdir/project1
  