Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><a href="https://stackoverflow.com/questions/2795994/can-i-get-hg-log-to-print-the-history-in-reverse-order/2796024#2796024">YGL's answer</a> is the right one for log, see <a href="http://old.nabble.com/Show-log-in-reverse-order-td28158687.html" rel="nofollow noreferrer">this thread</a>:</p> <blockquote> <p>The hint from "hg help log" might be:<br> "If no revision range is specified, the default is tip:0". Combine this with the knowlegde from "<a href="http://bitbucket.org/mirror/mercurial/src/47fbbc4845ff/mercurial/help/multirevs.txt" rel="nofollow noreferrer">hg help multirevs</a>". That is: </p> </blockquote> <p><strong><code>hg log -r :</code></strong> </p> <p><strong>multirevs</strong>:</p> <blockquote> <p>When Mercurial accepts more than one revision, they may be specified individually, or provided as a topologically continuous range, separated by the "<code>:</code>" character.</p> <p>The syntax of range notation is <strong><code>[BEGIN]:[END]</code></strong>, where <code>BEGIN</code> and <code>END</code> are revision identifiers.<br> Both <code>BEGIN</code> and <code>END</code> are optional.<br> If <code>BEGIN</code> is not specified, it defaults to revision number 0.<br> If <code>END</code> is not specified, it defaults to the tip.<br> The range ":" thus means "all revisions".</p> </blockquote> <p>If <code>BEGIN</code> is greater than <code>END</code>, revisions are treated in reverse order.</p> <blockquote> <p>A range acts as a closed interval. This means that a range of <code>3:5</code> gives 3, 4 and 5.<br> Similarly, a range of <code>9:6</code> gives 9, 8, 7, and 6.</p> </blockquote> <hr> <p>Note: if you want to do the same with <strong><a href="https://www.mercurial-scm.org/wiki/GraphlogExtension" rel="nofollow noreferrer">Graphlog</a></strong> (the <code>glog</code> that behaves like (a subset of) the normal <code>log</code> command except that it also prints a graph representing the revision history using ASCII characters to the left of the <code>log</code>.), you will need <a href="https://www.mercurial-scm.org/pipermail/mercurial-devel/2010-April/020064.html" rel="nofollow noreferrer">a patch</a>.</p> <blockquote> <p>I should warn you that it will be <em>very</em> slow for large graphs, particularly <code>0:tip</code>.<br> See <a href="https://www.mercurial-scm.org/pipermail/mercurial-devel/2010-April/020075.html" rel="nofollow noreferrer">patch 1</a> and <a href="https://www.mercurial-scm.org/pipermail/mercurial-devel/2010-April/020076.html" rel="nofollow noreferrer">patch 2</a>. I am working on improving that.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload