<refentry id="inject">
      <refentryinfo>
        <address>
          <email>blade@debian.org</email>
          </address>
        <address>
          &dhemail;
        </address>
        <author>
          <firstname>Eduard</firstname>
          <surname>Bloch</surname>
          <contrib>This manual page was written by Eduard Bloch in roff.
          </contrib>
        </author>
        <author>
          <firstname>Goneri</firstname>
          <surname>Le Bouder</surname>
          <contrib>Converted manpages to SGML.</contrib>
        </author>
        <author>
          &dhfirstname;
          &dhsurname;
          <contrib>Converted manpages to DocBook XML and current Debian maintainer
          </contrib>
        </author>
        <copyright>
          <year>2009</year>
          <holder>&dhusername;</holder>
        </copyright>
        &dhdate;
      </refentryinfo>
  <refmeta>
    <refentrytitle>svn-inject</refentrytitle>

    &dhsection;
  </refmeta>
  <refnamediv>
    <refname>&injectpackage;</refname>

    <refpurpose>puts a Debian source package into Subversion repository
    </refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <cmdsynopsis>
      <command>&injectpackage; [<replaceable>options</replaceable>]
      <replaceable>package</replaceable>.dsc
      <replaceable>repository_URL</replaceable></command>

    </cmdsynopsis>
  </refsynopsisdiv>
  <refsect1>
    <title>OPTIONS</title>

    <para><command>&injectpackage;</command> accepts the following
    options on the command-line:</para>
    <variablelist>
      <varlistentry>
        <term>
            <option>-h</option>
        </term>
        <listitem>
          <para>print the help menu</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
            <option>-v</option>
        </term>
        <listitem>
          <para>Make the command output verbose</para>
          <para>Default: Off.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
           <option>-q</option>
        </term>
        <listitem>
          <para>Hide less important messages</para>
          <para>Default: Off.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
          <option>-l</option>
        </term>
        <listitem>
         <para>Layout type. 1 (default) means
         package/{trunk,tags,branches,...} scheme,
         2 means the {trunk,tags,branches,...}/package scheme.
         </para>
          <para>Default: 1</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
           <option>-t directory</option>
        </term>
        <listitem>
          <para>
          Specify the directory where the .orig.tar.gz files are stored
          on the local machine.</para>
          <para>Default: Off.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
           <option>-d</option> |
           <option>--do-like=directory</option>
        </term>
        <listitem>
          <para>
          Looks at the working directory of some other package and uses
          its base URL, tarball storage directory and similar checkout
          target directory.
          </para>
          <para>Default: Off.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
          <option>-c number</option>
        </term>
        <listitem>
          <para>Checkout nothing (0), trunk directory (1) or everything
          (2) when the work is done.</para>
          <para>Default: 1</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
           <option>-o</option>
        </term>
        <listitem>
          <para>Only keep modified files under SVN control (including
          the debian/ directory), track only parts of upstream branch
          </para>
          <para>Default: Off.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
           <option>-O</option> |
           <option>--no-branches</option>
        </term>
        <listitem>
          <para>Do not create the <filename>branches</filename>
          subdirectory at all. This works in a similar way to
          <option>-o</option> but all changes on upstream files
          (e.g. meta changes like updating the
          <filename>config.guess</filename> and 
          <filename>config.sub</filename> files) are ignored and
          the upstream branch is not
          used.
          </para>
          <para>Default: use <filename>branches/</filename>.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
           <option>-s</option>
        </term>
        <listitem>
          <para>By default, <command>svn-inject</command> used to
          create <filename>.svn/deb-layout</filename>
          after an inject operation if a checkout followed the inject.
          Since version 0.6.22 this behaviour is deprecated.
          </para>
          <para>With this parameter <command>svn-inject</command> will replicate the old
          behaviour.
          </para>
          <para>This option was provided since it can be useful when
          creating a local override file.
          </para>
          <para>Default: Off.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
           <option>-setprops</option>
           <option>-set-props</option>
        </term>
        <listitem>
          <para>Set svn-bp:* props on the debian directory automatically.</para>
          <para>Default: Off.</para>
        </listitem>
      </varlistentry>

    </variablelist>

  </refsect1>

    <refsect1>
    <title>SEE ALSO</title>

     <variablelist>

      <varlistentry>
        <term>
          <citerefentry>
          <refentrytitle>/usr/share/doc/svn-buildpackage/</refentrytitle>
          </citerefentry>

        </term>
        <listitem>
          <para>The svn-buildpackage HOWTO manual</para>
        </listitem>
      </varlistentry>


      <varlistentry>
        <term>
          <citerefentry>
          <refentrytitle>svn-upgrade</refentrytitle>
          <manvolnum>1</manvolnum>
          </citerefentry>
        </term>
        <listitem>
          <para>upgrade source package from a new upstream revision.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
          <citerefentry> <refentrytitle>svn</refentrytitle>
          <manvolnum>1</manvolnum> </citerefentry>
        </term>
        <listitem>
          <para>Subversion command line client tool</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
          <citerefentry> <refentrytitle>dpkg-buildpackage</refentrytitle>
          <manvolnum>1</manvolnum> </citerefentry>
        </term>
        <listitem>
          <para>Debian source package tools</para>
        </listitem>
      </varlistentry>

    </variablelist>

  </refsect1>

</refentry>
