| 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>children</title> |
| 8 |
<link rel="stylesheet" href="../style.css" type="text/css" /> |
| 9 |
</head> |
| 10 |
<body> |
| 11 |
<div class="document" id="children"> |
| 12 |
<span id="ext-children"></span> |
| 13 |
<h1 class="title">children</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 display child changesets (DEPRECATED)</p> |
| 26 |
<div class="section" id="description"> |
| 27 |
<h1><a class="toc-backref" href="#contents">Description</a></h1> |
| 28 |
<p>This extension is deprecated. You should use <a class="reference external" href="hg-log.html"><tt class="docutils literal">hg log <span class="pre">-r</span> |
| 29 |
"children(REV)"</tt></a> instead.</p> |
| 30 |
</div> |
| 31 |
<div class="section" id="commands"> |
| 32 |
<h1><a class="toc-backref" href="#contents">Commands</a></h1> |
| 33 |
<div class="section" id="change-navigation"> |
| 34 |
<h2><a class="toc-backref" href="#contents">Change navigation</a></h2> |
| 35 |
<div class="section" id="children-1"> |
| 36 |
<h3>children</h3> |
| 37 |
<p>show the children of the given or working directory revision:</p> |
| 38 |
<pre class="literal-block"> |
| 39 |
hg children [-r REV] [FILE] |
| 40 |
</pre> |
| 41 |
<p>Print the children of the working directory's revisions. If a |
| 42 |
revision is given via -r/--rev, the children of that revision will |
| 43 |
be printed. If a file argument is given, revision in which the |
| 44 |
file was last changed (after the working directory revision or the |
| 45 |
argument to --rev if given) is printed.</p> |
| 46 |
<p>Please use <a class="reference external" href="hg-log.html"><tt class="docutils literal">hg log</tt></a> instead:</p> |
| 47 |
<pre class="literal-block"> |
| 48 |
hg children => hg log -r "children(.)" |
| 49 |
hg children -r REV => hg log -r "children(REV)" |
| 50 |
</pre> |
| 51 |
<p>See <a class="reference external" href="hg-log.html"><tt class="docutils literal">hg help log</tt></a> and <a class="reference external" href="hg.1.html#revsets.children"><tt class="docutils literal">hg help revsets.children</tt></a>.</p> |
| 52 |
<p>Options:</p> |
| 53 |
<table class="docutils option-list" frame="void" rules="none"> |
| 54 |
<col class="option" /> |
| 55 |
<col class="description" /> |
| 56 |
<tbody valign="top"> |
| 57 |
<tr><td class="option-group" colspan="2"> |
| 58 |
<kbd><span class="option">-r</span>, <span class="option">--rev <var><REV></var></span></kbd></td> |
| 59 |
</tr> |
| 60 |
<tr><td> </td><td>show children of the specified revision (default: .)</td></tr> |
| 61 |
<tr><td class="option-group" colspan="2"> |
| 62 |
<kbd><span class="option">--style <var><STYLE></var></span></kbd></td> |
| 63 |
</tr> |
| 64 |
<tr><td> </td><td>display using template map file (DEPRECATED)</td></tr> |
| 65 |
<tr><td class="option-group" colspan="2"> |
| 66 |
<kbd><span class="option">-T</span>, <span class="option">--template <var><TEMPLATE></var></span></kbd></td> |
| 67 |
</tr> |
| 68 |
<tr><td> </td><td>display with template</td></tr> |
| 69 |
</tbody> |
| 70 |
</table> |
| 71 |
</div> |
| 72 |
</div> |
| 73 |
</div> |
| 74 |
</div> |
| 75 |
</body> |
| 76 |
</html> |