Changeset 31987 for trunk/doc-new


Ignore:
Timestamp:
Dec 13, 2007, 6:58:47 AM (12 years ago)
Author:
markd@…
Message:

Correct errors in the bit about epochs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfile-global-keywords.7.xml

    r31922 r31987  
    7878        <listitem>
    7979          <para>An optional keyword (default value is 0) that may be used when
    80           a software developer updates an application to a version that is
    81           numerically less than the previous version. For example 1.10 -&gt;
    82           1.2 or 20070928 -&gt; 1.0. In these cases, an epoch may be used to
    83           ensure that port version comparisons are done properly. Often the
    84           epoch is formatted like a date, but it can simply be a number such
    85           as 1.</para>
     80          ports are updated to a version that is numerically less than the
     81          previous version. For example 1.10 -&gt; 1.2 or 20070928 -&gt; 1.0.
     82          An epoch ensures that port version comparisons work correctly in
     83          these cases. Often the epoch is formatted like a date, but it can
     84          simply be a number such as 1.</para>
    8685
    8786          <programlisting>epoch               20080924</programlisting>
     
    9089
    9190          <note>
    92             <para>If an epoch is used it must be incremented for each
    93             subsequent port update; it must never be decreased or reset to
    94             zero, because this would always cause a port version comparison to
    95             be incorrect after a port upgrade.</para>
     91            <para>If an epoch is used it must must never be decreased or reset
     92            to zero, because this would always cause a port version comparison
     93            to be incorrect after a port upgrade.</para>
    9694          </note>
    9795
Note: See TracChangeset for help on using the changeset viewer.