anchor.diff:  rem   items.
   
   rem Flags:
  -rem  -stat-exclude-? - exclude status lines for unversionned files (? prefixed) from "svn status" output.
  -rem  -stat-exclude-versioned - exclude status lines for versionned files (non ? prefixed) from "svn status" output.
  -rem     Versioned items has inclusion priority over unversioned items.
  +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
  
positive.code:   rem read until no flags
    goto FLAGS_LOOP
  )
  
  if %FLAG_SVN_STATUS_EXCLUDE_?% NEQ 0 set FLAG_SVN_STATUS_EXCLUDE_VERSIONED=0
  
  set "DIR_PATH_PREFIX=%~1"
  set "DIR_PATH_SUBDIR=%~2"
  
negative.code: 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="
  