This file is indexed.

/usr/share/doc/monotone/html/Command-Reference.html is in monotone-doc 1.0-3.

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
<html lang="en">
<head>
<title>Command Reference - monotone documentation</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="monotone documentation">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="prev" href="Advanced-Uses.html#Advanced-Uses" title="Advanced Uses">
<link rel="next" href="Formats.html#Formats" title="Formats">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
<link rel="stylesheet" type="text/css" href="texinfo.css">
</head>
<body>
<div class="node">
<a name="Command-Reference"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Formats.html#Formats">Formats</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Advanced-Uses.html#Advanced-Uses">Advanced Uses</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="index.html#Top">Top</a>
<hr>
</div>

<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>Many command options come in pairs that affect the same value. For example,
<samp><span class="command">mtn log</span></samp> takes a <var>brief</var> option; this can be reversed by
<var>no-brief</var>. This is convenient when building command strings
automatically; <samp><span class="command">mtn log --brief --no-brief</span></samp> is the same as
<samp><span class="command">mtn log</span></samp>.

<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
<samp><span class="command">log</span></samp>, you can override that with <samp><span class="command">mtn log
--no-brief</span></samp>.

<p>Command names can be abbreviated to the shortest unique strings. Some
commands also have short aliases, such as <samp><span class="command">mv</span></samp> for
<samp><span class="command">rename</span></samp>.

<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 (<samp><span class="command">mtn help cmd</span></samp>), or the manpage.

<p>Many options can be specified by a single character; see the online
help for those.

<p>The Lua hook <code><a href="get_005fdefault_005fcommand_005foptions.html#get_005fdefault_005fcommand_005foptions">get_default_command_options</a></code> can change the
default value for any option.

<p>Revision arguments to commands may be selectors or hex ids.

<ul class="menu">
<li><a accesskey="1" href="Global-and-Common-Options.html#Global-and-Common-Options">Global and Common Options</a>:    Options that affect all or many commands
<li><a accesskey="2" href="Tree.html#Tree">Tree</a>:                         Operations on tree states in your database
<li><a accesskey="3" href="Workspace.html#Workspace">Workspace</a>:                    Operations on your workspace
<li><a accesskey="4" href="Network.html#Network">Network</a>:                      Communication with the network
<li><a accesskey="5" href="Informative.html#Informative">Informative</a>:                  Production of descriptive reports
<li><a accesskey="6" href="Review.html#Review">Review</a>:                       Reviewing revisions
<li><a accesskey="7" href="Variables.html#Variables">Variables</a>:                    Managing persistent variables
<li><a accesskey="8" href="Key-and-Cert.html#Key-and-Cert">Key and Cert</a>:                 Keys, Certificates
<li><a accesskey="9" href="Packet-I_002fO.html#Packet-I_002fO">Packet I/O</a>:                   Production or consumption of packets
<li><a href="Database.html#Database">Database</a>:                     Manipulation of your database as a whole
<li><a href="Automation.html#Automation">Automation</a>:                   Running monotone from other programs
<li><a href="VCS.html#VCS">VCS</a>:                          Importing and exporting to other version control systems
</ul>
<!-- the 'debug' commands don't have a section; you have to know what -->
<!-- you are doing to use them, so it's not worth maintaining them in -->
<!-- this manual. -->

</body></html>