{extends "manage/manage.tpl.html"} {block "manage_content"}
{t}SCM Integration{/t}
{t escape=no}SCM
Integration{/t}: {include file="help_link.tpl.html" topic="scm_integration"}
  
{t escape=no}To add scm backends, add to your setup.php like{/t}: {literal}
  'scm' => array(
    'cvs' => array(
      // cvsweb urls
      'name' => 'cvs',
      'checkout_url' => 'http://cvs.example.org/{MODULE}/{FILE}?rev={NEW_VERSION}&content-type=text/x-cvsweb-markup',
      'diff_url' => 'http://cvs.example.org/{MODULE}/{FILE}?r1={OLD_VERSION}&r2={NEW_VERSION}&f=h',
      'log_url' => 'http://cvs.example.org/{MODULE}/{FILE}?r1={VERSION}#rev{VERSION}',
    ),
    'svn' => array(
      // trac urls
      'name' => 'svn',
      'checkout_url' => 'http://trac.example.org/browser/{MODULE}/{FILE}?rev={VERSION}',
      'diff_url' => 'http://trac.example.org/changeset/{VERSION}/{MODULE}/{FILE}',
      'log_url' => 'http://trac.example.org/log/{MODULE}/{FILE}?rev={VERSION}',
    ),
    'git' => array(
      // gitweb urls
      'name' => 'git',
      'checkout_url' => 'http://git.example.org/?p=test.git;a=blob;f={FILE};hb={VERSION}',
      'diff_url' => 'http://git.example.org/?p=test.git;a=commitdiff;h={VERSION}',
      'log_url' => 'http://git.example.org/?p=test.git;a=history;f={FILE};hb={VERSION}',
    ),
  )
{/literal}
{/block}