| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 |
<meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" /> |
| 7 |
<title>graphlog</title> |
| 8 |
<link rel="stylesheet" href="../style.css" type="text/css" /> |
| 9 |
</head> |
| 10 |
<body> |
| 11 |
<div class="document" id="graphlog"> |
| 12 |
<span id="ext-graphlog"></span> |
| 13 |
<h1 class="title">graphlog</h1> |
| 14 |
|
| 15 |
<div class="contents htmlonly topic" id="contents"> |
| 16 |
<p class="topic-title"><a class="reference internal" href="#top">Contents</a></p> |
| 17 |
<ul class="simple"> |
| 18 |
<li><a class="reference internal" href="#description" id="toc-entry-1">Description</a></li> |
| 19 |
<li><a class="reference internal" href="#commands" id="toc-entry-2">Commands</a><ul> |
| 20 |
<li><a class="reference internal" href="#change-navigation" id="toc-entry-3">Change navigation</a></li> |
| 21 |
</ul> |
| 22 |
</li> |
| 23 |
</ul> |
| 24 |
</div> |
| 25 |
<p>command to view revision graphs from a shell (DEPRECATED)</p> |
| 26 |
<div class="section" id="description"> |
| 27 |
<h1><a class="toc-backref" href="#contents">Description</a></h1> |
| 28 |
<p>The functionality of this extension has been include in core Mercurial |
| 29 |
since version 2.3. Please use <a class="reference external" href="hg-log.html"><tt class="docutils literal">hg log <span class="pre">-G</span> ...</tt></a> instead.</p> |
| 30 |
<p>This extension adds a --graph option to the incoming, outgoing and log |
| 31 |
commands. When this options is given, an ASCII representation of the |
| 32 |
revision graph is also shown.</p> |
| 33 |
</div> |
| 34 |
<div class="section" id="commands"> |
| 35 |
<h1><a class="toc-backref" href="#contents">Commands</a></h1> |
| 36 |
<div class="section" id="change-navigation"> |
| 37 |
<h2><a class="toc-backref" href="#contents">Change navigation</a></h2> |
| 38 |
<div class="section" id="glog"> |
| 39 |
<h3>glog</h3> |
| 40 |
<p>show revision history alongside an ASCII revision graph:</p> |
| 41 |
<pre class="literal-block"> |
| 42 |
hg glog [OPTION]... [FILE] |
| 43 |
</pre> |
| 44 |
<p>Print a revision history alongside a revision graph drawn with |
| 45 |
ASCII characters.</p> |
| 46 |
<p>Nodes printed as an @ character are parents of the working |
| 47 |
directory.</p> |
| 48 |
<p>This is an alias to <a class="reference external" href="hg-log.html"><tt class="docutils literal">hg log <span class="pre">-G</span></tt></a>.</p> |
| 49 |
<p>Options:</p> |
| 50 |
<table class="docutils option-list" frame="void" rules="none"> |
| 51 |
<col class="option" /> |
| 52 |
<col class="description" /> |
| 53 |
<tbody valign="top"> |
| 54 |
<tr><td class="option-group"> |
| 55 |
<kbd><span class="option">-f</span>, <span class="option">--follow</span></kbd></td> |
| 56 |
<td>follow changeset history, or file history across copies and renames</td></tr> |
| 57 |
<tr><td class="option-group"> |
| 58 |
<kbd><span class="option">--follow-first</span></kbd></td> |
| 59 |
<td>only follow the first parent of merge changesets (DEPRECATED)</td></tr> |
| 60 |
<tr><td class="option-group" colspan="2"> |
| 61 |
<kbd><span class="option">-d</span>, <span class="option">--date <var><DATE></var></span></kbd></td> |
| 62 |
</tr> |
| 63 |
<tr><td> </td><td>show revisions matching date spec</td></tr> |
| 64 |
<tr><td class="option-group"> |
| 65 |
<kbd><span class="option">-C</span>, <span class="option">--copies</span></kbd></td> |
| 66 |
<td>show copied files</td></tr> |
| 67 |
<tr><td class="option-group" colspan="2"> |
| 68 |
<kbd><span class="option">-k</span>, <span class="option">--keyword <var><TEXT[+]></var></span></kbd></td> |
| 69 |
</tr> |
| 70 |
<tr><td> </td><td>do case-insensitive search for a given text</td></tr> |
| 71 |
<tr><td class="option-group" colspan="2"> |
| 72 |
<kbd><span class="option">-r</span>, <span class="option">--rev <var><REV[+]></var></span></kbd></td> |
| 73 |
</tr> |
| 74 |
<tr><td> </td><td>show the specified revision or revset</td></tr> |
| 75 |
<tr><td class="option-group"> |
| 76 |
<kbd><span class="option">--removed</span></kbd></td> |
| 77 |
<td>include revisions where files were removed</td></tr> |
| 78 |
<tr><td class="option-group" colspan="2"> |
| 79 |
<kbd><span class="option">-m</span>, <span class="option">--only-merges</span></kbd></td> |
| 80 |
</tr> |
| 81 |
<tr><td> </td><td>show only merges (DEPRECATED)</td></tr> |
| 82 |
<tr><td class="option-group" colspan="2"> |
| 83 |
<kbd><span class="option">-u</span>, <span class="option">--user <var><USER[+]></var></span></kbd></td> |
| 84 |
</tr> |
| 85 |
<tr><td> </td><td>revisions committed by user</td></tr> |
| 86 |
<tr><td class="option-group" colspan="2"> |
| 87 |
<kbd><span class="option">--only-branch <var><BRANCH[+]></var></span></kbd></td> |
| 88 |
</tr> |
| 89 |
<tr><td> </td><td>show only changesets within the given named branch (DEPRECATED)</td></tr> |
| 90 |
<tr><td class="option-group" colspan="2"> |
| 91 |
<kbd><span class="option">-b</span>, <span class="option">--branch <var><BRANCH[+]></var></span></kbd></td> |
| 92 |
</tr> |
| 93 |
<tr><td> </td><td>show changesets within the given named branch</td></tr> |
| 94 |
<tr><td class="option-group" colspan="2"> |
| 95 |
<kbd><span class="option">-P</span>, <span class="option">--prune <var><REV[+]></var></span></kbd></td> |
| 96 |
</tr> |
| 97 |
<tr><td> </td><td>do not display revision or any of its ancestors</td></tr> |
| 98 |
<tr><td class="option-group"> |
| 99 |
<kbd><span class="option">-p</span>, <span class="option">--patch</span></kbd></td> |
| 100 |
<td>show patch</td></tr> |
| 101 |
<tr><td class="option-group"> |
| 102 |
<kbd><span class="option">-g</span>, <span class="option">--git</span></kbd></td> |
| 103 |
<td>use git extended diff format</td></tr> |
| 104 |
<tr><td class="option-group" colspan="2"> |
| 105 |
<kbd><span class="option">-l</span>, <span class="option">--limit <var><NUM></var></span></kbd></td> |
| 106 |
</tr> |
| 107 |
<tr><td> </td><td>limit number of changes displayed</td></tr> |
| 108 |
<tr><td class="option-group" colspan="2"> |
| 109 |
<kbd><span class="option">-M</span>, <span class="option">--no-merges</span></kbd></td> |
| 110 |
</tr> |
| 111 |
<tr><td> </td><td>do not show merges</td></tr> |
| 112 |
<tr><td class="option-group"> |
| 113 |
<kbd><span class="option">--stat</span></kbd></td> |
| 114 |
<td>output diffstat-style summary of changes</td></tr> |
| 115 |
<tr><td class="option-group"> |
| 116 |
<kbd><span class="option">-G</span>, <span class="option">--graph</span></kbd></td> |
| 117 |
<td>show the revision DAG</td></tr> |
| 118 |
<tr><td class="option-group" colspan="2"> |
| 119 |
<kbd><span class="option">--style <var><STYLE></var></span></kbd></td> |
| 120 |
</tr> |
| 121 |
<tr><td> </td><td>display using template map file (DEPRECATED)</td></tr> |
| 122 |
<tr><td class="option-group" colspan="2"> |
| 123 |
<kbd><span class="option">-T</span>, <span class="option">--template <var><TEMPLATE></var></span></kbd></td> |
| 124 |
</tr> |
| 125 |
<tr><td> </td><td>display with template</td></tr> |
| 126 |
<tr><td class="option-group" colspan="2"> |
| 127 |
<kbd><span class="option">-I</span>, <span class="option">--include <var><PATTERN[+]></var></span></kbd></td> |
| 128 |
</tr> |
| 129 |
<tr><td> </td><td>include names matching the given patterns</td></tr> |
| 130 |
<tr><td class="option-group" colspan="2"> |
| 131 |
<kbd><span class="option">-X</span>, <span class="option">--exclude <var><PATTERN[+]></var></span></kbd></td> |
| 132 |
</tr> |
| 133 |
<tr><td> </td><td>exclude names matching the given patterns</td></tr> |
| 134 |
</tbody> |
| 135 |
</table> |
| 136 |
<p>[+] marked option can be specified multiple times</p> |
| 137 |
</div> |
| 138 |
</div> |
| 139 |
</div> |
| 140 |
</div> |
| 141 |
</body> |
| 142 |
</html> |