<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 SYSTEM "../../../dtd/dblite.dtd">
<sect1 id="tsvn-repository-links">
  <title>Checkout Links</title>
  <indexterm>
    <primary>checkout link</primary>
  </indexterm>
  <indexterm>
    <primary>TortoiseSVN link</primary>
  </indexterm>
  <indexterm>
    <primary>link</primary>
  </indexterm>
  <indexterm>
    <primary>website</primary>
  </indexterm>
  <para>
    If you want to make your Subversion repository available
    to others you may want to include a link to it from your
    website. One way to make this more accessible is to include
    a <firstterm>checkout link</firstterm> for other TortoiseSVN users.
  </para>
  <para>
    When you install TortoiseSVN, it registers a new
    <literal>tsvn:</literal> protocol. When a TortoiseSVN user clicks on
    such a link, the checkout dialog will open automatically with
    the repository URL already filled in.
  </para>
  <para>
    To include such a link in your own html page, you need to add
    code which looks something like this:
<programlisting>
&lt;a href="tsvn:http://project.domain.org/svn/trunk"&gt;
&lt;/a&gt;
</programlisting>
  </para>
  <para>
    Of course it would look even better if you included a suitable picture.
    You can use the
    <ulink url="https://svn.osdn.net/svnroot/tortoisesvn/trunk/www/source/assets/img/TortoiseCheckout.png">
      <citetitle>TortoiseSVN logo</citetitle>
    </ulink>
    or you can provide your own image.
<programlisting>
&lt;a href="tsvn:http://project.domain.org/svn/trunk"&gt;
&lt;img src=TortoiseCheckout.png&gt;&lt;/a&gt;
</programlisting>
  </para>
  <para>
    You can also make the link point to a specific revision, for example
<programlisting>
&lt;a href="tsvn:http://project.domain.org/svn/trunk?100"&gt;
&lt;/a&gt;
</programlisting>
  </para>
</sect1>
