Source

VersionControl_Hg / src / Documentation / API / Docbook / versioncontrol / hg / command / versioncontrol-hg-command-archive / to.xml

The default branch has multiple heads

Full commit
<refentry id="package.versioncontrol.hg.command.versioncontrol-hg-command-archive.to">
 <refnamediv>
  <refname>
   <function>VersionControl_Hg_Command_Archive::to</function>
  </refname>
  <refpurpose>Sets the directory path to which the archive will be saved</refpurpose>
 </refnamediv>
 <refsynopsisdiv>
  <funcsynopsis>
   <funcsynopsisinfo>require_once &apos;/Hg/Command/Archive.php&apos;;</funcsynopsisinfo>
   <funcprototype>
    <funcdef>
     <replaceable>
      <link linkend="package.versioncontrol.hg.command.versioncontrol-hg-command-abstract-summary">
       <classname>VersionControl_Hg_Command_Abstract</classname>
      </link>
     </replaceable>
     <function>VersionControl_Hg_Command_Archive::to</function>
    </funcdef>
    <paramdef>
     string
     <parameter>$directory</parameter>
    </paramdef>
   </funcprototype>
  </funcsynopsis>
 </refsynopsisdiv>
 <refsect1 id="package.versioncontrol.hg.command.versioncontrol-hg-command-archive.to.desc">
  &title.desc;
  <para>Must be the last option, like files</para>
 </refsect1>
 <refsect1 id="package.versioncontrol.hg.command.versioncontrol-hg-command-archive.to.param">
  &title.param;
  <para>
   <variablelist>
    <varlistentry>
     <term>
      &type.string;
      <parameter>$directory</parameter>
     </term>
     <listitem>
      <para>is directory to which archives are saved</para>
     </listitem>
    </varlistentry>
   </variablelist>
  </para>
 </refsect1>
 <refsect1 id="package.versioncontrol.hg.command.versioncontrol-hg-command-archive.to.throws">
  &title.throws;
  <para>
   <emphasis>throws</emphasis>
   VersionControl_Hg_Repository_Command_Exception
  </para>
 </refsect1>
 <refsect1 id="package.versioncontrol.hg.command.versioncontrol-hg-command-archive.to.note">
  &title.note;
  &note.notstatic;
</refsect1>
</refentry>