<vcs>
  <options>
    <scratch path="scratch" />
    <ccs cmd="svn">
      <file args="info %f" match="(.+)" pos="1" replace="0" delink="0" stoppost="1" script="svnparse.js">
        <extern name="svnparse.js"><![CDATA[function parse(textIn, fileIn)
{
if (textIn = "")
  return fileIn;

var reposText = textIn.match(new RegExp("Repository Root:(.+)"))[1]+"";
reposText = reposText.split("\r\n")[0];
reposText = reposText.split("\n")[0];
reposText = reposText.replace(/\+/g, "\\+");
var str = "URL:" + reposText + "[\\|/](.+)";
var matchText = textIn.match(new RegExp(str))[1];
return matchText; 
}
]]>
</extern>
      </file>
      <vers args="info %f" match="Revision:\s+(\d+)" pos="2"></vers>
      <diff cmd="cmd.exe" args="/c svndiff.bat %d %F %m %n %a %u %p" checkout=" ">
        <extern name="svndiff.bat"><![CDATA[@echo off
svn --username %6 --password %7 cat %1/%2@%3 > a.txt
svn --username %6 --password %7 cat %1/%2@%4 > b.txt
%5/diff -b a.txt b.txt
]]>
 </extern>
      </diff>
      <code args="--username %u --password %p %c %d/%F@%m" console="cat" strip="0"></code>
      <link cmd="ls" args="-l %f" match="[\w|\:|\.|\/|\\][[\w|\.|\:|\/|\\|\s]+\s->\s([\w|\.|\:|\/|\\]+)" pos="1"></link>
      <chck args="checkout %d/%r@%m %r --depth empty" first="" increment="update --set-depth empty -r %m %i" last="update -r %m --set-depth infinity %f"></chck>
    </ccs>
  </options>
</vcs>

<!-- 
%F  full path to the local file
%f  local file, equivalent of, cd `dirname %F`, cvs `basename %F`
%D  full path to the local file
%BD full path to the local file, with windows style backslashes
%Bf local file, with windows style backslashes
%BF full path including the local file, with windows style backslashes
%S  local file basename, without the suffix
%S  local file suffix
%m  major version number (i.e. current version)
%n  minor version (i.e. previous version
%r  path root, e.g. 'wget' for path 'wget/src/connect.c'
%i  incremental part of the path, used for progressive checkouts
%c  console output option
%d  project repository setting
%u  user
%p  password
%o1 user settings option1
%o2 user settings option2
%o3 user settings option3
%o4 user settings option4
%H  project host setting
%P  project port setting
%O1 project settings option1
%O2 project settings option2
%O3 project settings option3
%O4 project settings option4
%w  working directory (scratch path)
%Bw scratch path, with windows style backslashes
%A  prqavcs application path
%a  prqavcs application path with short path format on windows
-->
