/usr/share/doc/monotone/html/Command-Reference.html is in monotone-doc 1.1-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.1, http://www.gnu.org/software/texinfo/ -->
<head>
<title>monotone documentation: Command Reference</title>
<meta name="description" content="monotone documentation: Command Reference">
<meta name="keywords" content="monotone documentation: Command Reference">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="General-Index.html#General-Index" rel="index" title="General Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="index.html#Top" rel="up" title="Top">
<link href="Global-and-Common-Options.html#Global-and-Common-Options" rel="next" title="Global and Common Options">
<link href="Bisecting.html#Bisecting" rel="prev" title="Bisecting">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
<link rel="stylesheet" type="text/css" href="texinfo.css">
</head>
<body lang="en">
<a name="Command-Reference"></a>
<div class="header">
<p>
Next: <a href="Formats.html#Formats" accesskey="n" rel="next">Formats</a>, Previous: <a href="Advanced-Uses.html#Advanced-Uses" accesskey="p" rel="prev">Advanced Uses</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="General-Index.html#General-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="Command-Reference-1"></a>
<h2 class="chapter">4 Command Reference</h2>
<p>Monotone has a large number of commands. To help navigate through them
all, commands are grouped into logical categories. In addition, there
are global options that apply to all commands.
</p>
<p>Many command options come in pairs that affect the same value. For example,
<code>mtn log</code> takes a <var>brief</var> option; this can be reversed by
<var>no-brief</var>. This is convenient when building command strings
automatically; <code>mtn log --brief --no-brief</code> is the same as
<code>mtn log</code>.
</p>
<p>It also helps when setting options in the
<var>get_default_command_options</var> hook; those options can be
overridden on the command line. For example, if
<var>get_default_command_options</var> specifies <var>brief</var> for
<code>log</code>, you can override that with <code>mtn log
--no-brief</code>.
</p>
<p>Command names can be abbreviated to the shortest unique strings. Some
commands also have short aliases, such as <code>mv</code> for
<code>rename</code>.
</p>
<p>The command descriptions describe the most important options for each
command, and only one of each pair of options. For a complete list of
options, see the online help (<code>mtn help cmd</code>), or the manpage.
</p>
<p>Many options can be specified by a single character; see the online
help for those.
</p>
<p>The Lua hook <code><a href="User-Defaults.html#get_005fdefault_005fcommand_005foptions">get_default_command_options</a></code> can change the
default value for any option.
</p>
<p>Revision arguments to commands (but not to automate commands) may be
selectors (see <a href="Selectors.html#Selectors">Selectors</a>) or hex ids.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top">• <a href="Global-and-Common-Options.html#Global-and-Common-Options" accesskey="1">Global and Common Options</a>:</td><td> </td><td align="left" valign="top">Options that affect all or many commands
</td></tr>
<tr><td align="left" valign="top">• <a href="Tree.html#Tree" accesskey="2">Tree</a>:</td><td> </td><td align="left" valign="top">Operations on tree states in your database
</td></tr>
<tr><td align="left" valign="top">• <a href="Workspace.html#Workspace" accesskey="3">Workspace</a>:</td><td> </td><td align="left" valign="top">Operations on your workspace
</td></tr>
<tr><td align="left" valign="top">• <a href="Network.html#Network" accesskey="4">Network</a>:</td><td> </td><td align="left" valign="top">Communication with the network
</td></tr>
<tr><td align="left" valign="top">• <a href="Informative.html#Informative" accesskey="5">Informative</a>:</td><td> </td><td align="left" valign="top">Production of descriptive reports
</td></tr>
<tr><td align="left" valign="top">• <a href="Review.html#Review" accesskey="6">Review</a>:</td><td> </td><td align="left" valign="top">Reviewing revisions
</td></tr>
<tr><td align="left" valign="top">• <a href="Variables.html#Variables" accesskey="7">Variables</a>:</td><td> </td><td align="left" valign="top">Managing persistent variables
</td></tr>
<tr><td align="left" valign="top">• <a href="Key-and-Cert.html#Key-and-Cert" accesskey="8">Key and Cert</a>:</td><td> </td><td align="left" valign="top">Keys, Certificates
</td></tr>
<tr><td align="left" valign="top">• <a href="Packet-I_002fO.html#Packet-I_002fO" accesskey="9">Packet I/O</a>:</td><td> </td><td align="left" valign="top">Production or consumption of packets
</td></tr>
<tr><td align="left" valign="top">• <a href="Database.html#Database">Database</a>:</td><td> </td><td align="left" valign="top">Manipulation of your database as a whole
</td></tr>
<tr><td align="left" valign="top">• <a href="Automation.html#Automation">Automation</a>:</td><td> </td><td align="left" valign="top">Running monotone from other programs
</td></tr>
<tr><td align="left" valign="top">• <a href="VCS.html#VCS">VCS</a>:</td><td> </td><td align="left" valign="top">Importing and exporting to other version control systems
</td></tr>
</table>
<hr>
<div class="header">
<p>
Next: <a href="Formats.html#Formats" accesskey="n" rel="next">Formats</a>, Previous: <a href="Advanced-Uses.html#Advanced-Uses" accesskey="p" rel="prev">Advanced Uses</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="General-Index.html#General-Index" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>
|