| 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>show</title> |
| 8 |
<link rel="stylesheet" href="../style.css" type="text/css" /> |
| 9 |
</head> |
| 10 |
<body> |
| 11 |
<div class="document" id="show"> |
| 12 |
<span id="ext-show"></span> |
| 13 |
<h1 class="title">show</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><ul> |
| 19 |
<li><a class="reference internal" href="#commands" id="toc-entry-2"><tt class="docutils literal">commands</tt></a></li> |
| 20 |
</ul> |
| 21 |
</li> |
| 22 |
<li><a class="reference internal" href="#commands-1" id="toc-entry-3">Commands</a><ul> |
| 23 |
<li><a class="reference internal" href="#change-navigation" id="toc-entry-4">Change navigation</a></li> |
| 24 |
</ul> |
| 25 |
</li> |
| 26 |
</ul> |
| 27 |
</div> |
| 28 |
<p>unified command to show various repository information (EXPERIMENTAL)</p> |
| 29 |
<div class="section" id="description"> |
| 30 |
<h1><a class="toc-backref" href="#contents">Description</a></h1> |
| 31 |
<p>This extension provides the <a class="reference external" href="hg-show.html"><tt class="docutils literal">hg show</tt></a> command, which provides a central |
| 32 |
command for displaying commonly-accessed repository data and views of that |
| 33 |
data.</p> |
| 34 |
<p>The following config options can influence operation.</p> |
| 35 |
<div class="section" id="commands"> |
| 36 |
<h2><a class="toc-backref" href="#contents"><tt class="docutils literal">commands</tt></a></h2> |
| 37 |
<dl class="docutils"> |
| 38 |
<dt><tt class="docutils literal">show.aliasprefix</tt></dt> |
| 39 |
<dd><p class="first">List of strings that will register aliases for views. e.g. <tt class="docutils literal">s</tt> will |
| 40 |
effectively set config options <tt class="docutils literal">alias.s<view> = show <view></tt> for all |
| 41 |
views. i.e. <cite>hg swork</cite> would execute <cite>hg show work</cite>.</p> |
| 42 |
<p class="last">Aliases that would conflict with existing registrations will not be |
| 43 |
performed.</p> |
| 44 |
</dd> |
| 45 |
</dl> |
| 46 |
</div> |
| 47 |
</div> |
| 48 |
<div class="section" id="commands-1"> |
| 49 |
<h1><a class="toc-backref" href="#contents">Commands</a></h1> |
| 50 |
<div class="section" id="change-navigation"> |
| 51 |
<h2><a class="toc-backref" href="#contents">Change navigation</a></h2> |
| 52 |
<div class="section" id="show-1"> |
| 53 |
<h3>show</h3> |
| 54 |
<p>show various repository information:</p> |
| 55 |
<pre class="literal-block"> |
| 56 |
hg show VIEW |
| 57 |
</pre> |
| 58 |
<p>A requested view of repository data is displayed.</p> |
| 59 |
<p>If no view is requested, the list of available views is shown and the |
| 60 |
command aborts.</p> |
| 61 |
<div class="admonition note"> |
| 62 |
<p class="first admonition-title">Note</p> |
| 63 |
<p>There are no backwards compatibility guarantees for the output of this |
| 64 |
command. Output may change in any future Mercurial release.</p> |
| 65 |
<p class="last">Consumers wanting stable command output should specify a template via |
| 66 |
<tt class="docutils literal"><span class="pre">-T/--template</span></tt>.</p> |
| 67 |
</div> |
| 68 |
<p>List of available views:</p> |
| 69 |
<p>bookmarks bookmarks and their associated changeset</p> |
| 70 |
<p>stack current line of work</p> |
| 71 |
<p>work changesets that aren't finished</p> |
| 72 |
<p>Options:</p> |
| 73 |
<table class="docutils option-list" frame="void" rules="none"> |
| 74 |
<col class="option" /> |
| 75 |
<col class="description" /> |
| 76 |
<tbody valign="top"> |
| 77 |
<tr><td class="option-group" colspan="2"> |
| 78 |
<kbd><span class="option">-T</span>, <span class="option">--template <var><TEMPLATE></var></span></kbd></td> |
| 79 |
</tr> |
| 80 |
<tr><td> </td><td>display with template</td></tr> |
| 81 |
</tbody> |
| 82 |
</table> |
| 83 |
</div> |
| 84 |
</div> |
| 85 |
</div> |
| 86 |
</div> |
| 87 |
</body> |
| 88 |
</html> |