anchor.diff:  
   rem exclude unversioned items
   set FLAG_SVN_STATUS_EXCLUDE_?=0
  -rem ignore externals
  +set "FLAG_TEXT_SVN_STATUS_INCLUDE_?=?"
  +set "FLAG_TEXT_SVN_STATUS_EXCLUDE_?="
  +rem show externals status (status with the X character)
  +set FLAG_SVN_STATUS_INCLUDE_X=0
  +set "FLAG_TEXT_SVN_STATUS_INCLUDE_X="
  +set "FLAG_TEXT_SVN_STATUS_EXCLUDE_X=X"
  +rem read status inexternals recursively (by default, ignore externals status)
   set FLAG_SVN_EXTERNALS_RECURSIVE=0
   set "FLAG_TEXT_SVN_IGNORE_EXTERNALS=--ignore-externals"
   rem exclude versioned changes
  
positive.code: if not "%FLAG%" == "" (
    if "%FLAG%" == "-stat-exclude-?" (
      set FLAG_SVN_STATUS_EXCLUDE_?=1
    ) else if "%FLAG%" == "-r" (
      set FLAG_SVN_EXTERNALS_RECURSIVE=1
      set "FLAG_TEXT_SVN_IGNORE_EXTERNALS="
  
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
  