<vcs>
  <options>
    <scratch path="scratch" />
    <ccs cmd="tf">
      <file args="properties /noprompt %f" match="Server path:\s\$\/(.+)" pos="2" replace="0" delink="0" stoppost="1" /> 
      <vers args="properties /noprompt %f" match="Changeset\s+:\s(\d+)" pos="2" /> 
      <code args="view %c /collection:%d /login:%u,%p /noprompt /version:%m $/%f" strip="" console="/console"/>
      <diff cmd="cmd" args="/c tfdiff.bat %d %a %u %p %m %n $/%f" />
      <extern name="tfdiff.bat"><![CDATA[@echo off
tf view /console /collection:%1 /login:%3,%4 /noprompt /version:%5 %7 > a.txt
tf view /console /collection:%1 /login:%3,%4 /noprompt /version:%6 %7 > b.txt
%2\diff -b a.txt b.txt]]>
      </extern>
      <bdiff args=""/>
      <auth args="history /noprompt /version:%m /format:detailed %f" pos="2" match="User:\s(.+)" /> 
      <date args="history /noprompt /version:%m /format:detailed %f" match="Date:\s(.*)" pos="2" format="dd MMMM yyyy hh:mm:ss"/>
    </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
-->
