##// END OF EJS Templates
hgweb help: split up long lines (in generated output)
Dan Villiom Podlaski Christiansen -
r18745:3c7c25fa default
parent child Browse files
Show More
@@ -1,226 +1,233 b''
1 1 default = 'shortlog'
2 2
3 3 mimetype = 'text/html; charset={encoding}'
4 4 header = header.tmpl
5 5 footer = ../paper/footer.tmpl
6 6 search = ../paper/search.tmpl
7 7
8 8 changelog = ../paper/shortlog.tmpl
9 9 shortlog = ../paper/shortlog.tmpl
10 10 shortlogentry = ../paper/shortlogentry.tmpl
11 11 graph = ../paper/graph.tmpl
12 12
13 13 help = ../paper/help.tmpl
14 14 helptopics = ../paper/helptopics.tmpl
15 15
16 helpentry = '<tr><td><a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>'
16 helpentry = '
17 <tr><td>
18 <a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">
19 {topic|escape}
20 </a>
21 </td><td>
22 {summary|escape}
23 </td></tr>'
17 24
18 25 naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
19 26 navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
20 27 navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
21 28 filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
22 29 filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
23 30 filenodelink = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
24 31 filenolink = '{file|escape} '
25 32 fileellipses = '...'
26 33 diffstatlink = ../paper/diffstat.tmpl
27 34 diffstatnolink = ../paper/diffstat.tmpl
28 35 changelogentry = ../paper/shortlogentry.tmpl
29 36 searchentry = ../paper/shortlogentry.tmpl
30 37 changeset = ../paper/changeset.tmpl
31 38 manifest = ../paper/manifest.tmpl
32 39
33 40 nav = '{before%naventry} {after%naventry}'
34 41 navshort = '{before%navshortentry}{after%navshortentry}'
35 42 navgraph = '{before%navgraphentry}{after%navgraphentry}'
36 43 filenav = '{before%filenaventry}{after%filenaventry}'
37 44
38 45 direntry = '
39 46 <tr class="fileline parity{parity}">
40 47 <td class="name">
41 48 <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">
42 49 <img src="{staticurl|urlescape}coal-folder.png" alt="dir."/> {basename|escape}/
43 50 </a>
44 51 <a href="{url|urlescape}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">
45 52 {emptydirs|escape}
46 53 </a>
47 54 </td>
48 55 <td class="size"></td>
49 56 <td class="permissions">drwxr-xr-x</td>
50 57 </tr>'
51 58
52 59 fileentry = '
53 60 <tr class="fileline parity{parity}">
54 61 <td class="filename">
55 62 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
56 63 <img src="{staticurl|urlescape}coal-file.png" alt="file"/> {basename|escape}
57 64 </a>
58 65 </td>
59 66 <td class="size">{size}</td>
60 67 <td class="permissions">{permissions|permissions}</td>
61 68 </tr>'
62 69
63 70 filerevision = ../paper/filerevision.tmpl
64 71 fileannotate = ../paper/fileannotate.tmpl
65 72 filediff = ../paper/filediff.tmpl
66 73 filecomparison = ../paper/filecomparison.tmpl
67 74 filelog = ../paper/filelog.tmpl
68 75 fileline = '
69 76 <div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
70 77 filelogentry = ../paper/filelogentry.tmpl
71 78
72 79 annotateline = '
73 80 <tr class="parity{parity}">
74 81 <td class="annotate">
75 82 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}"
76 83 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
77 84 </td>
78 85 <td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td>
79 86 </tr>'
80 87
81 88 diffblock = '<div class="source bottomline parity{parity}"><pre>{lines}</pre></div>'
82 89 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
83 90 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
84 91 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
85 92 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
86 93
87 94 comparisonblock ='
88 95 <tbody class="block">
89 96 {lines}
90 97 </tbody>'
91 98 comparisonline = '
92 99 <tr>
93 100 <td class="source {type}"><a href="#{lineid}" id="{lineid}">{leftlinenumber}</a> {leftline|escape}</td>
94 101 <td class="source {type}"><a href="#{lineid}" id="{lineid}">{rightlinenumber}</a> {rightline|escape}</td>
95 102 </tr>'
96 103
97 104 changelogparent = '
98 105 <tr>
99 106 <th class="parent">parent {rev}:</th>
100 107 <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
101 108 </tr>'
102 109
103 110 changesetparent = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
104 111
105 112 filerevparent = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
106 113 filerevchild = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
107 114
108 115 filerename = '{file|escape}@'
109 116 filelogrename = '
110 117 <span class="base">
111 118 base
112 119 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
113 120 {file|escape}@{node|short}
114 121 </a>
115 122 </span>'
116 123 fileannotateparent = '
117 124 <tr>
118 125 <td class="metatag">parent:</td>
119 126 <td>
120 127 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
121 128 {rename%filerename}{node|short}
122 129 </a>
123 130 </td>
124 131 </tr>'
125 132 changesetchild = ' <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
126 133 changelogchild = '
127 134 <tr>
128 135 <th class="child">child</th>
129 136 <td class="child">
130 137 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
131 138 {node|short}
132 139 </a>
133 140 </td>
134 141 </tr>'
135 142 fileannotatechild = '
136 143 <tr>
137 144 <td class="metatag">child:</td>
138 145 <td>
139 146 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
140 147 {node|short}
141 148 </a>
142 149 </td>
143 150 </tr>'
144 151 tags = ../paper/tags.tmpl
145 152 tagentry = '
146 153 <tr class="tagEntry parity{parity}">
147 154 <td>
148 155 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
149 156 {tag|escape}
150 157 </a>
151 158 </td>
152 159 <td class="node">
153 160 {node|short}
154 161 </td>
155 162 </tr>'
156 163 bookmarks = ../paper/bookmarks.tmpl
157 164 bookmarkentry = '
158 165 <tr class="tagEntry parity{parity}">
159 166 <td>
160 167 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
161 168 {bookmark|escape}
162 169 </a>
163 170 </td>
164 171 <td class="node">
165 172 {node|short}
166 173 </td>
167 174 </tr>'
168 175 branches = ../paper/branches.tmpl
169 176 branchentry = '
170 177 <tr class="tagEntry parity{parity}">
171 178 <td>
172 179 <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
173 180 {branch|escape}
174 181 </a>
175 182 </td>
176 183 <td class="node">
177 184 {node|short}
178 185 </td>
179 186 </tr>'
180 187 changelogtag = '<span class="tag">{name|escape}</span> '
181 188 changesettag = '<span class="tag">{tag|escape}</span> '
182 189 changesetbookmark = '<span class="tag">{bookmark|escape}</span> '
183 190 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
184 191 changelogbranchname = '<span class="branchname">{name|escape}</span> '
185 192
186 193 filediffparent = '
187 194 <tr>
188 195 <th class="parent">parent {rev}:</th>
189 196 <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
190 197 </tr>'
191 198 filelogparent = '
192 199 <tr>
193 200 <th>parent {rev}:</th>
194 201 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
195 202 </tr>'
196 203 filediffchild = '
197 204 <tr>
198 205 <th class="child">child {rev}:</th>
199 206 <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
200 207 </td>
201 208 </tr>'
202 209 filelogchild = '
203 210 <tr>
204 211 <th>child {rev}:</th>
205 212 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
206 213 </tr>'
207 214
208 215 indexentry = '
209 216 <tr class="parity{parity}">
210 217 <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td>
211 218 <td>{description}</td>
212 219 <td>{contact|obfuscate}</td>
213 220 <td class="age">{lastchange|rfc822date}</td>
214 221 <td class="indexlinks">{archives%indexarchiveentry}</td>
215 222 </tr>\n'
216 223 indexarchiveentry = '<a href="{url|urlescape}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
217 224 index = ../paper/index.tmpl
218 225 archiveentry = '
219 226 <li>
220 227 <a href="{url|urlescape}archive/{node|short}{extension|urlescape}">{type|escape}</a>
221 228 </li>'
222 229 notfound = ../paper/notfound.tmpl
223 230 error = ../paper/error.tmpl
224 231 urlparameter = '{separator}{name}={value|urlescape}'
225 232 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
226 233 breadcrumb = '&gt; <a href="{url|urlescape}">{name|escape}</a> '
@@ -1,308 +1,315 b''
1 1 default = 'summary'
2 2 mimetype = 'text/html; charset={encoding}'
3 3 header = header.tmpl
4 4 footer = footer.tmpl
5 5 search = search.tmpl
6 6 changelog = changelog.tmpl
7 7 summary = summary.tmpl
8 8 error = error.tmpl
9 9 notfound = notfound.tmpl
10 10
11 11 help = help.tmpl
12 12 helptopics = helptopics.tmpl
13 13
14 helpentry = '<tr><td><a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>'
14 helpentry = '
15 <tr><td>
16 <a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">
17 {topic|escape}
18 </a>
19 </td><td>
20 {summary|escape}
21 </td></tr>'
15 22
16 23 naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
17 24 navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
18 25 navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
19 26 filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
20 27 filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
21 28 filenodelink = '
22 29 <tr class="parity{parity}">
23 30 <td><a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
24 31 <td></td>
25 32 <td class="link">
26 33 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
27 34 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
28 35 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
29 36 <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> |
30 37 <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
31 38 </td>
32 39 </tr>'
33 40 filenolink = '
34 41 <tr class="parity{parity}">
35 42 <td><a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
36 43 <td></td>
37 44 <td class="link">
38 45 file |
39 46 annotate |
40 47 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
41 48 <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> |
42 49 <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
43 50 </td>
44 51 </tr>'
45 52
46 53 nav = '{before%naventry} {after%naventry}'
47 54 navshort = '{before%navshortentry}{after%navshortentry}'
48 55 navgraph = '{before%navgraphentry}{after%navgraphentry}'
49 56 filenav = '{before%filenaventry}{after%filenaventry}'
50 57
51 58 fileellipses = '...'
52 59 changelogentry = changelogentry.tmpl
53 60 searchentry = changelogentry.tmpl
54 61 changeset = changeset.tmpl
55 62 manifest = manifest.tmpl
56 63 direntry = '
57 64 <tr class="parity{parity}">
58 65 <td style="font-family:monospace">drwxr-xr-x</td>
59 66 <td style="font-family:monospace"></td>
60 67 <td style="font-family:monospace"></td>
61 68 <td>
62 69 <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>
63 70 <a href="{url|urlescape}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a>
64 71 </td>
65 72 <td class="link">
66 73 <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a>
67 74 </td>
68 75 </tr>'
69 76 fileentry = '
70 77 <tr class="parity{parity}">
71 78 <td style="font-family:monospace">{permissions|permissions}</td>
72 79 <td style="font-family:monospace" align=right>{date|isodate}</td>
73 80 <td style="font-family:monospace" align=right>{size}</td>
74 81 <td class="list">
75 82 <a class="list" href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>
76 83 </td>
77 84 <td class="link">
78 85 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
79 86 <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
80 87 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
81 88 </td>
82 89 </tr>'
83 90 filerevision = filerevision.tmpl
84 91 fileannotate = fileannotate.tmpl
85 92 filediff = filediff.tmpl
86 93 filecomparison = filecomparison.tmpl
87 94 filelog = filelog.tmpl
88 95 fileline = '
89 96 <div style="font-family:monospace" class="parity{parity}">
90 97 <pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre>
91 98 </div>'
92 99 annotateline = '
93 100 <tr style="font-family:monospace" class="parity{parity}">
94 101 <td class="linenr" style="text-align: right;">
95 102 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
96 103 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
97 104 </td>
98 105 <td><pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a></pre></td>
99 106 <td><pre>{line|escape}</pre></td>
100 107 </tr>'
101 108 difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
102 109 difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
103 110 difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
104 111 diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
105 112
106 113 comparisonblock ='
107 114 <tbody class="block">
108 115 {lines}
109 116 </tbody>'
110 117 comparisonline = '
111 118 <tr style="font-family:monospace">
112 119 <td class="{type}"><pre><a class="linenr" href="#{lineid}" id="{lineid}">{leftlinenumber}</a> {leftline|escape}</pre></td>
113 120 <td class="{type}"><pre><a class="linenr" href="#{lineid}" id="{lineid}">{rightlinenumber}</a> {rightline|escape}</pre></td>
114 121 </tr>'
115 122
116 123 changelogparent = '
117 124 <tr>
118 125 <th class="parent">parent {rev}:</th>
119 126 <td class="parent">
120 127 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
121 128 </td>
122 129 </tr>'
123 130 changesetbranch = '<tr><td>branch</td><td>{name|escape}</td></tr>'
124 131 changesetparent = '
125 132 <tr>
126 133 <td>parent {rev}</td>
127 134 <td style="font-family:monospace">
128 135 <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
129 136 </td>
130 137 </tr>'
131 138 filerevbranch = '<tr><td>branch</td><td>{name|escape}</td></tr>'
132 139 filerevparent = '
133 140 <tr>
134 141 <td>parent {rev}</td>
135 142 <td style="font-family:monospace">
136 143 <a class="list" href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
137 144 {rename%filerename}{node|short}
138 145 </a>
139 146 </td>
140 147 </tr>'
141 148 filerename = '{file|escape}@'
142 149 filelogrename = '| <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>'
143 150 fileannotateparent = '
144 151 <tr>
145 152 <td>parent {rev}</td>
146 153 <td style="font-family:monospace">
147 154 <a class="list" href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
148 155 {rename%filerename}{node|short}
149 156 </a>
150 157 </td>
151 158 </tr>'
152 159 changelogchild = '
153 160 <tr>
154 161 <th class="child">child {rev}:</th>
155 162 <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
156 163 </tr>'
157 164 changesetchild = '
158 165 <tr>
159 166 <td>child {rev}</td>
160 167 <td style="font-family:monospace">
161 168 <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
162 169 </td>
163 170 </tr>'
164 171 filerevchild = '
165 172 <tr>
166 173 <td>child {rev}</td>
167 174 <td style="font-family:monospace">
168 175 <a class="list" href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
169 176 </tr>'
170 177 fileannotatechild = '
171 178 <tr>
172 179 <td>child {rev}</td>
173 180 <td style="font-family:monospace">
174 181 <a class="list" href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
175 182 </tr>'
176 183 tags = tags.tmpl
177 184 tagentry = '
178 185 <tr class="parity{parity}">
179 186 <td class="age"><i class="age">{date|rfc822date}</i></td>
180 187 <td><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"><b>{tag|escape}</b></a></td>
181 188 <td class="link">
182 189 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
183 190 <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
184 191 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
185 192 </td>
186 193 </tr>'
187 194 bookmarks = bookmarks.tmpl
188 195 bookmarkentry = '
189 196 <tr class="parity{parity}">
190 197 <td class="age"><i class="age">{date|rfc822date}</i></td>
191 198 <td><a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"><b>{bookmark|escape}</b></a></td>
192 199 <td class="link">
193 200 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
194 201 <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
195 202 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
196 203 </td>
197 204 </tr>'
198 205 branches = branches.tmpl
199 206 branchentry = '
200 207 <tr class="parity{parity}">
201 208 <td class="age"><i class="age">{date|rfc822date}</i></td>
202 209 <td><a class="list" href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td>
203 210 <td class="{status}">{branch|escape}</td>
204 211 <td class="link">
205 212 <a href="{url|urlescape}changeset/{node|short}{sessionvars%urlparameter}">changeset</a> |
206 213 <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
207 214 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
208 215 </td>
209 216 </tr>'
210 217 diffblock = '<pre>{lines}</pre>'
211 218 filediffparent = '
212 219 <tr>
213 220 <td>parent {rev}</td>
214 221 <td style="font-family:monospace">
215 222 <a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
216 223 {node|short}
217 224 </a>
218 225 </td>
219 226 </tr>'
220 227 filecompparent = '
221 228 <tr>
222 229 <td>parent {rev}</td>
223 230 <td style="font-family:monospace">
224 231 <a class="list" href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
225 232 {node|short}
226 233 </a>
227 234 </td>
228 235 </tr>'
229 236 filelogparent = '
230 237 <tr>
231 238 <td align="right">parent {rev}:&nbsp;</td>
232 239 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
233 240 </tr>'
234 241 filediffchild = '
235 242 <tr>
236 243 <td>child {rev}</td>
237 244 <td style="font-family:monospace">
238 245 <a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
239 246 </td>
240 247 </tr>'
241 248 filecompchild = '
242 249 <tr>
243 250 <td>child {rev}</td>
244 251 <td style="font-family:monospace">
245 252 <a class="list" href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
246 253 </td>
247 254 </tr>'
248 255 filelogchild = '
249 256 <tr>
250 257 <td align="right">child {rev}:&nbsp;</td>
251 258 <td><a href="{url|urlescape}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
252 259 </tr>'
253 260 shortlog = shortlog.tmpl
254 261 graph = graph.tmpl
255 262 tagtag = '<span class="tagtag" title="{name|escape}">{name|escape}</span> '
256 263 branchtag = '<span class="branchtag" title="{name|escape}">{name|escape}</span> '
257 264 inbranchtag = '<span class="inbranchtag" title="{name|escape}">{name|escape}</span> '
258 265 bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> '
259 266 shortlogentry = '
260 267 <tr class="parity{parity}">
261 268 <td class="age"><i class="age">{date|rfc822date}</i></td>
262 269 <td><i>{author|person}</i></td>
263 270 <td>
264 271 <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
265 272 <b>{desc|strip|firstline|escape|nonempty}</b>
266 273 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>
267 274 </a>
268 275 </td>
269 276 <td class="link" nowrap>
270 277 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
271 278 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
272 279 </td>
273 280 </tr>'
274 281 filelogentry = '
275 282 <tr class="parity{parity}">
276 283 <td class="age"><i class="age">{date|rfc822date}</i></td>
277 284 <td>
278 285 <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
279 286 <b>{desc|strip|firstline|escape|nonempty}</b>
280 287 </a>
281 288 </td>
282 289 <td class="link">
283 290 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a>&nbsp;|&nbsp;<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a>&nbsp;|&nbsp;<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> {rename%filelogrename}</td>
284 291 </tr>'
285 292 archiveentry = ' | <a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a> '
286 293 indexentry = '
287 294 <tr class="parity{parity}">
288 295 <td>
289 296 <a class="list" href="{url|urlescape}{sessionvars%urlparameter}">
290 297 <b>{name|escape}</b>
291 298 </a>
292 299 </td>
293 300 <td>{description}</td>
294 301 <td>{contact|obfuscate}</td>
295 302 <td class="age">{lastchange|rfc822date}</td>
296 303 <td class="indexlinks">{archives%indexarchiveentry}</td>
297 304 <td>{if(isdirectory, '',
298 305 '<div class="rss_logo">
299 306 <a href="{url|urlescape}rss-log">RSS</a> <a href="{url|urlescape}atom-log">Atom</a>
300 307 </div>'
301 308 )}
302 309 </td>
303 310 </tr>\n'
304 311 indexarchiveentry = ' <a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a> '
305 312 index = index.tmpl
306 313 urlparameter = '{separator}{name}={value|urlescape}'
307 314 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
308 315 breadcrumb = '&gt; <a href="{url|urlescape}">{name|escape}</a> '
@@ -1,262 +1,269 b''
1 1 default = 'summary'
2 2 mimetype = 'text/html; charset={encoding}'
3 3 header = header.tmpl
4 4 footer = footer.tmpl
5 5 search = search.tmpl
6 6 changelog = changelog.tmpl
7 7 summary = summary.tmpl
8 8 error = error.tmpl
9 9 notfound = notfound.tmpl
10 10
11 11 help = help.tmpl
12 12 helptopics = helptopics.tmpl
13 13
14 helpentry = '<tr><td><a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>'
14 helpentry = '
15 <tr><td>
16 <a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">
17 {topic|escape}
18 </a>
19 </td><td>
20 {summary|escape}
21 </td></tr>'
15 22
16 23 naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
17 24 navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
18 25 navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
19 26 filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a>'
20 27 filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
21 28 filenodelink = '
22 29 <tr class="parity{parity}">
23 30 <td><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
24 31 <td></td>
25 32 <td>
26 33 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
27 34 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
28 35 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
29 36 <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> |
30 37 <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
31 38 </td>
32 39 </tr>'
33 40 filenolink = '
34 41 <tr class="parity{parity}">
35 42 <td><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
36 43 <td></td>
37 44 <td>
38 45 file |
39 46 annotate |
40 47 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
41 48 <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> |
42 49 <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
43 50 </td>
44 51 </tr>'
45 52
46 53 nav = '{before%naventry} {after%naventry}'
47 54 navshort = '{before%navshortentry}{after%navshortentry}'
48 55 navgraph = '{before%navgraphentry}{after%navgraphentry}'
49 56 filenav = '{before%filenaventry}{after%filenaventry}'
50 57
51 58 fileellipses = '...'
52 59 changelogentry = changelogentry.tmpl
53 60 searchentry = changelogentry.tmpl
54 61 changeset = changeset.tmpl
55 62 manifest = manifest.tmpl
56 63 direntry = '
57 64 <tr class="parity{parity}">
58 65 <td>drwxr-xr-x</td>
59 66 <td></td>
60 67 <td></td>
61 68 <td><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td>
62 69 <td><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></td>
63 70 </tr>'
64 71 fileentry = '
65 72 <tr class="parity{parity}">
66 73 <td>{permissions|permissions}</td>
67 74 <td>{date|isodate}</td>
68 75 <td>{size}</td>
69 76 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td>
70 77 <td>
71 78 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
72 79 <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
73 80 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
74 81 </td>
75 82 </tr>'
76 83 filerevision = filerevision.tmpl
77 84 fileannotate = fileannotate.tmpl
78 85 filediff = filediff.tmpl
79 86 filecomparison = filecomparison.tmpl
80 87 filelog = filelog.tmpl
81 88 fileline = '
82 89 <div style="font-family:monospace" class="parity{parity}">
83 90 <pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre>
84 91 </div>'
85 92 annotateline = '
86 93 <tr class="parity{parity}">
87 94 <td class="linenr">
88 95 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
89 96 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
90 97 </td>
91 98 <td class="lineno">
92 99 <a href="#{lineid}" id="{lineid}">{linenumber}</a>
93 100 </td>
94 101 <td class="source">{line|escape}</td>
95 102 </tr>'
96 103 difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
97 104 difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
98 105 difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
99 106 diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
100 107
101 108 comparisonblock ='
102 109 <tbody class="block">
103 110 {lines}
104 111 </tbody>'
105 112 comparisonline = '
106 113 <tr>
107 114 <td class="source {type}"><a class="linenr" href="#{lineid}" id="{lineid}">{leftlinenumber}</a> {leftline|escape}</td>
108 115 <td class="source {type}"><a class="linenr" href="#{lineid}" id="{lineid}">{rightlinenumber}</a> {rightline|escape}</td>
109 116 </tr>'
110 117
111 118 changelogparent = '
112 119 <tr>
113 120 <th class="parent">parent {rev}:</th>
114 121 <td class="parent">
115 122 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
116 123 </td>
117 124 </tr>'
118 125 changesetbranch = '<dt>branch</dt><dd>{name|escape}</dd>'
119 126 changesetparent = '
120 127 <dt>parent {rev}</dt>
121 128 <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
122 129 filerevbranch = '<dt>branch</dt><dd>{name|escape}</dd>'
123 130 filerevparent = '
124 131 <dt>parent {rev}</dt>
125 132 <dd>
126 133 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
127 134 {rename%filerename}{node|short}
128 135 </a>
129 136 </dd>'
130 137 filerename = '{file|escape}@'
131 138 filelogrename = '| <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>'
132 139 fileannotateparent = '
133 140 <dt>parent {rev}</dt>
134 141 <dd>
135 142 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
136 143 {rename%filerename}{node|short}
137 144 </a>
138 145 </dd>'
139 146 changelogchild = '
140 147 <dt>child {rev}:</dt>
141 148 <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
142 149 changesetchild = '
143 150 <dt>child {rev}</dt>
144 151 <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
145 152 filerevchild = '
146 153 <dt>child {rev}</dt>
147 154 <dd>
148 155 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
149 156 </dd>'
150 157 fileannotatechild = '
151 158 <dt>child {rev}</dt>
152 159 <dd>
153 160 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
154 161 </dd>'
155 162 tags = tags.tmpl
156 163 tagentry = '
157 164 <tr class="parity{parity}">
158 165 <td class="nowrap age">{date|rfc822date}</td>
159 166 <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td>
160 167 <td class="nowrap">
161 168 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
162 169 <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
163 170 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
164 171 </td>
165 172 </tr>'
166 173 bookmarks = bookmarks.tmpl
167 174 bookmarkentry = '
168 175 <tr class="parity{parity}">
169 176 <td class="nowrap date">{date|rfc822date}</td>
170 177 <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{bookmark|escape}</a></td>
171 178 <td class="nowrap">
172 179 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
173 180 <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
174 181 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
175 182 </td>
176 183 </tr>'
177 184 branches = branches.tmpl
178 185 branchentry = '
179 186 <tr class="parity{parity}">
180 187 <td class="nowrap age">{date|rfc822date}</td>
181 188 <td><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
182 189 <td class="{status}">{branch|escape}</td>
183 190 <td class="nowrap">
184 191 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
185 192 <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
186 193 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
187 194 </td>
188 195 </tr>'
189 196 diffblock = '<pre>{lines}</pre>'
190 197 filediffparent = '
191 198 <dt>parent {rev}</dt>
192 199 <dd><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
193 200 filecompparent = '
194 201 <dt>parent {rev}</dt>
195 202 <dd><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
196 203 filelogparent = '
197 204 <tr>
198 205 <td align="right">parent {rev}:&nbsp;</td>
199 206 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
200 207 </tr>'
201 208 filediffchild = '
202 209 <dt>child {rev}</dt>
203 210 <dd><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
204 211 filecompchild = '
205 212 <dt>child {rev}</dt>
206 213 <dd><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
207 214 filelogchild = '
208 215 <tr>
209 216 <td align="right">child {rev}:&nbsp;</td>
210 217 <td><a href="{url|urlescape}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
211 218 </tr>'
212 219 shortlog = shortlog.tmpl
213 220 tagtag = '<span class="tagtag" title="{name|escape}">{name|escape}</span> '
214 221 branchtag = '<span class="branchtag" title="{name|escape}">{name|escape}</span> '
215 222 inbranchtag = '<span class="inbranchtag" title="{name|escape}">{name|escape}</span> '
216 223 bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> '
217 224 shortlogentry = '
218 225 <tr class="parity{parity}">
219 226 <td class="nowrap age">{date|rfc822date}</td>
220 227 <td>{author|person}</td>
221 228 <td>
222 229 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
223 230 {desc|strip|firstline|escape|nonempty}
224 231 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>
225 232 </a>
226 233 </td>
227 234 <td class="nowrap">
228 235 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
229 236 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
230 237 </td>
231 238 </tr>'
232 239 filelogentry = '
233 240 <tr class="parity{parity}">
234 241 <td class="nowrap age">{date|rfc822date}</td>
235 242 <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td>
236 243 <td class="nowrap">
237 244 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a>&nbsp;|&nbsp;<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a>&nbsp;|&nbsp;<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
238 245 {rename%filelogrename}
239 246 </td>
240 247 </tr>'
241 248 archiveentry = '<li><a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a></li>'
242 249 indexentry = '
243 250 <tr class="parity{parity}">
244 251 <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td>
245 252 <td>{description}</td>
246 253 <td>{contact|obfuscate}</td>
247 254 <td class="age">{lastchange|rfc822date}</td>
248 255 <td class="indexlinks">{archives%indexarchiveentry}</td>
249 256 <td>
250 257 {if(isdirectory, '',
251 258 '<div class="rss_logo">
252 259 <a href="{url|urlescape}rss-log">RSS</a> <a href="{url|urlescape}atom-log">Atom</a>
253 260 </div>'
254 261 )}
255 262 </td>
256 263 </tr>\n'
257 264 indexarchiveentry = '<a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a> '
258 265 index = index.tmpl
259 266 urlparameter = '{separator}{name}={value|urlescape}'
260 267 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
261 268 graph = graph.tmpl
262 269 breadcrumb = '&gt; <a href="{url|urlescape}">{name|escape}</a> '
@@ -1,234 +1,241 b''
1 1 default = 'shortlog'
2 2
3 3 mimetype = 'text/html; charset={encoding}'
4 4 header = header.tmpl
5 5 footer = footer.tmpl
6 6 search = search.tmpl
7 7
8 8 changelog = shortlog.tmpl
9 9 shortlog = shortlog.tmpl
10 10 shortlogentry = shortlogentry.tmpl
11 11 graph = graph.tmpl
12 12 help = help.tmpl
13 13 helptopics = helptopics.tmpl
14 14
15 helpentry = '<tr><td><a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>'
15 helpentry = '
16 <tr><td>
17 <a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">
18 {topic|escape}
19 </a>
20 </td><td>
21 {summary|escape}
22 </td></tr>'
16 23
17 24 naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
18 25 navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
19 26 navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
20 27 filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
21 28 filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
22 29 filenodelink = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
23 30 filenolink = '{file|escape} '
24 31 fileellipses = '...'
25 32 diffstatlink = diffstat.tmpl
26 33 diffstatnolink = diffstat.tmpl
27 34 changelogentry = shortlogentry.tmpl
28 35 searchentry = shortlogentry.tmpl
29 36 changeset = changeset.tmpl
30 37 manifest = manifest.tmpl
31 38
32 39 nav = '{before%naventry} {after%naventry}'
33 40 navshort = '{before%navshortentry}{after%navshortentry}'
34 41 navgraph = '{before%navgraphentry}{after%navgraphentry}'
35 42 filenav = '{before%filenaventry}{after%filenaventry}'
36 43
37 44 direntry = '
38 45 <tr class="fileline parity{parity}">
39 46 <td class="name">
40 47 <a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">
41 48 <img src="{staticurl|urlescape}coal-folder.png" alt="dir."/> {basename|escape}/
42 49 </a>
43 50 <a href="{url|urlescape}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">
44 51 {emptydirs|escape}
45 52 </a>
46 53 </td>
47 54 <td class="size"></td>
48 55 <td class="permissions">drwxr-xr-x</td>
49 56 </tr>'
50 57
51 58 fileentry = '
52 59 <tr class="fileline parity{parity}">
53 60 <td class="filename">
54 61 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
55 62 <img src="{staticurl|urlescape}coal-file.png" alt="file"/> {basename|escape}
56 63 </a>
57 64 </td>
58 65 <td class="size">{size}</td>
59 66 <td class="permissions">{permissions|permissions}</td>
60 67 </tr>'
61 68
62 69 filerevision = filerevision.tmpl
63 70 fileannotate = fileannotate.tmpl
64 71 filediff = filediff.tmpl
65 72 filecomparison = filecomparison.tmpl
66 73 filelog = filelog.tmpl
67 74 fileline = '
68 75 <div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
69 76 filelogentry = filelogentry.tmpl
70 77
71 78 annotateline = '
72 79 <tr class="parity{parity}">
73 80 <td class="annotate">
74 81 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
75 82 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
76 83 </td>
77 84 <td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td>
78 85 </tr>'
79 86
80 87 diffblock = '<div class="source bottomline parity{parity}"><pre>{lines}</pre></div>'
81 88 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
82 89 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
83 90 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
84 91 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
85 92
86 93 comparisonblock ='
87 94 <tbody class="block">
88 95 {lines}
89 96 </tbody>'
90 97 comparisonline = '
91 98 <tr>
92 99 <td class="source {type}"><a href="#{lineid}" id="{lineid}">{leftlinenumber}</a> {leftline|escape}</td>
93 100 <td class="source {type}"><a href="#{lineid}" id="{lineid}">{rightlinenumber}</a> {rightline|escape}</td>
94 101 </tr>'
95 102
96 103 changelogparent = '
97 104 <tr>
98 105 <th class="parent">parent {rev}:</th>
99 106 <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
100 107 </tr>'
101 108
102 109 changesetparent = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
103 110
104 111 difffrom = '<a href="{url|urlescape}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">{node|short}</a> '
105 112
106 113 filerevparent = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
107 114 filerevchild = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
108 115
109 116 filerename = '{file|escape}@'
110 117 filelogrename = '
111 118 <span class="base">
112 119 base
113 120 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
114 121 {file|escape}@{node|short}
115 122 </a>
116 123 </span>'
117 124 fileannotateparent = '
118 125 <tr>
119 126 <td class="metatag">parent:</td>
120 127 <td>
121 128 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
122 129 {rename%filerename}{node|short}
123 130 </a>
124 131 </td>
125 132 </tr>'
126 133 changesetchild = ' <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
127 134 changelogchild = '
128 135 <tr>
129 136 <th class="child">child</th>
130 137 <td class="child">
131 138 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
132 139 {node|short}
133 140 </a>
134 141 </td>
135 142 </tr>'
136 143 fileannotatechild = '
137 144 <tr>
138 145 <td class="metatag">child:</td>
139 146 <td>
140 147 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
141 148 {node|short}
142 149 </a>
143 150 </td>
144 151 </tr>'
145 152 tags = tags.tmpl
146 153 tagentry = '
147 154 <tr class="tagEntry parity{parity}">
148 155 <td>
149 156 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
150 157 {tag|escape}
151 158 </a>
152 159 </td>
153 160 <td class="node">
154 161 {node|short}
155 162 </td>
156 163 </tr>'
157 164 bookmarks = bookmarks.tmpl
158 165 bookmarkentry = '
159 166 <tr class="tagEntry parity{parity}">
160 167 <td>
161 168 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
162 169 {bookmark|escape}
163 170 </a>
164 171 </td>
165 172 <td class="node">
166 173 {node|short}
167 174 </td>
168 175 </tr>'
169 176 branches = branches.tmpl
170 177 branchentry = '
171 178 <tr class="tagEntry parity{parity}">
172 179 <td>
173 180 <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
174 181 {branch|escape}
175 182 </a>
176 183 </td>
177 184 <td class="node">
178 185 {node|short}
179 186 </td>
180 187 </tr>'
181 188 changelogtag = '<span class="tag">{name|escape}</span> '
182 189 changesettag = '<span class="tag">{tag|escape}</span> '
183 190 changesetbookmark = '<span class="tag">{bookmark|escape}</span> '
184 191 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
185 192 changelogbranchname = '<span class="branchname">{name|escape}</span> '
186 193
187 194 filediffparent = '
188 195 <tr>
189 196 <th class="parent">parent {rev}:</th>
190 197 <td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
191 198 </tr>'
192 199 filelogparent = '
193 200 <tr>
194 201 <th>parent {rev}:</th>
195 202 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
196 203 </tr>'
197 204 filediffchild = '
198 205 <tr>
199 206 <th class="child">child {rev}:</th>
200 207 <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
201 208 </td>
202 209 </tr>'
203 210 filelogchild = '
204 211 <tr>
205 212 <th>child {rev}:</th>
206 213 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
207 214 </tr>'
208 215
209 216 indexentry = '
210 217 <tr class="parity{parity}">
211 218 <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td>
212 219 <td>{description}</td>
213 220 <td>{contact|obfuscate}</td>
214 221 <td class="age">{lastchange|rfc822date}</td>
215 222 <td class="indexlinks">{archives%indexarchiveentry}</td>
216 223 <td>
217 224 {if(isdirectory, '',
218 225 '<a href="{url|urlescape}atom-log" title="subscribe to repository atom feed">
219 226 <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="subscribe to repository atom feed">
220 227 </a>'
221 228 )}
222 229 </td>
223 230 </tr>\n'
224 231 indexarchiveentry = '<a href="{url|urlescape}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
225 232 index = index.tmpl
226 233 archiveentry = '
227 234 <li>
228 235 <a href="{url|urlescape}archive/{node|short}{extension|urlescape}">{type|escape}</a>
229 236 </li>'
230 237 notfound = notfound.tmpl
231 238 error = error.tmpl
232 239 urlparameter = '{separator}{name}={value|urlescape}'
233 240 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
234 241 breadcrumb = '&gt; <a href="{url|urlescape}">{name|escape}</a> '
This diff has been collapsed as it changes many lines, (517 lines changed) Show them Hide them
@@ -1,1272 +1,1783 b''
1 1 Short help:
2 2
3 3 $ hg
4 4 Mercurial Distributed SCM
5 5
6 6 basic commands:
7 7
8 8 add add the specified files on the next commit
9 9 annotate show changeset information by line for each file
10 10 clone make a copy of an existing repository
11 11 commit commit the specified files or all outstanding changes
12 12 diff diff repository (or selected files)
13 13 export dump the header and diffs for one or more changesets
14 14 forget forget the specified files on the next commit
15 15 init create a new repository in the given directory
16 16 log show revision history of entire repository or files
17 17 merge merge working directory with another revision
18 18 pull pull changes from the specified source
19 19 push push changes to the specified destination
20 20 remove remove the specified files on the next commit
21 21 serve start stand-alone webserver
22 22 status show changed files in the working directory
23 23 summary summarize working directory state
24 24 update update working directory (or switch revisions)
25 25
26 26 use "hg help" for the full list of commands or "hg -v" for details
27 27
28 28 $ hg -q
29 29 add add the specified files on the next commit
30 30 annotate show changeset information by line for each file
31 31 clone make a copy of an existing repository
32 32 commit commit the specified files or all outstanding changes
33 33 diff diff repository (or selected files)
34 34 export dump the header and diffs for one or more changesets
35 35 forget forget the specified files on the next commit
36 36 init create a new repository in the given directory
37 37 log show revision history of entire repository or files
38 38 merge merge working directory with another revision
39 39 pull pull changes from the specified source
40 40 push push changes to the specified destination
41 41 remove remove the specified files on the next commit
42 42 serve start stand-alone webserver
43 43 status show changed files in the working directory
44 44 summary summarize working directory state
45 45 update update working directory (or switch revisions)
46 46
47 47 $ hg help
48 48 Mercurial Distributed SCM
49 49
50 50 list of commands:
51 51
52 52 add add the specified files on the next commit
53 53 addremove add all new files, delete all missing files
54 54 annotate show changeset information by line for each file
55 55 archive create an unversioned archive of a repository revision
56 56 backout reverse effect of earlier changeset
57 57 bisect subdivision search of changesets
58 58 bookmarks track a line of development with movable markers
59 59 branch set or show the current branch name
60 60 branches list repository named branches
61 61 bundle create a changegroup file
62 62 cat output the current or given revision of files
63 63 clone make a copy of an existing repository
64 64 commit commit the specified files or all outstanding changes
65 65 copy mark files as copied for the next commit
66 66 diff diff repository (or selected files)
67 67 export dump the header and diffs for one or more changesets
68 68 forget forget the specified files on the next commit
69 69 graft copy changes from other branches onto the current branch
70 70 grep search for a pattern in specified files and revisions
71 71 heads show current repository heads or show branch heads
72 72 help show help for a given topic or a help overview
73 73 identify identify the working copy or specified revision
74 74 import import an ordered set of patches
75 75 incoming show new changesets found in source
76 76 init create a new repository in the given directory
77 77 locate locate files matching specific patterns
78 78 log show revision history of entire repository or files
79 79 manifest output the current or given revision of the project manifest
80 80 merge merge working directory with another revision
81 81 outgoing show changesets not found in the destination
82 82 parents show the parents of the working directory or revision
83 83 paths show aliases for remote repositories
84 84 phase set or show the current phase name
85 85 pull pull changes from the specified source
86 86 push push changes to the specified destination
87 87 recover roll back an interrupted transaction
88 88 remove remove the specified files on the next commit
89 89 rename rename files; equivalent of copy + remove
90 90 resolve redo merges or set/view the merge status of files
91 91 revert restore files to their checkout state
92 92 rollback roll back the last transaction (dangerous)
93 93 root print the root (top) of the current working directory
94 94 serve start stand-alone webserver
95 95 showconfig show combined config settings from all hgrc files
96 96 status show changed files in the working directory
97 97 summary summarize working directory state
98 98 tag add one or more tags for the current or given revision
99 99 tags list repository tags
100 100 tip show the tip revision
101 101 unbundle apply one or more changegroup files
102 102 update update working directory (or switch revisions)
103 103 verify verify the integrity of the repository
104 104 version output version and copyright information
105 105
106 106 additional help topics:
107 107
108 108 config Configuration Files
109 109 dates Date Formats
110 110 diffs Diff Formats
111 111 environment Environment Variables
112 112 extensions Using Additional Features
113 113 filesets Specifying File Sets
114 114 glossary Glossary
115 115 hgignore Syntax for Mercurial Ignore Files
116 116 hgweb Configuring hgweb
117 117 merge-tools Merge Tools
118 118 multirevs Specifying Multiple Revisions
119 119 patterns File Name Patterns
120 120 phases Working with Phases
121 121 revisions Specifying Single Revisions
122 122 revsets Specifying Revision Sets
123 123 subrepos Subrepositories
124 124 templating Template Usage
125 125 urls URL Paths
126 126
127 127 use "hg -v help" to show builtin aliases and global options
128 128
129 129 $ hg -q help
130 130 add add the specified files on the next commit
131 131 addremove add all new files, delete all missing files
132 132 annotate show changeset information by line for each file
133 133 archive create an unversioned archive of a repository revision
134 134 backout reverse effect of earlier changeset
135 135 bisect subdivision search of changesets
136 136 bookmarks track a line of development with movable markers
137 137 branch set or show the current branch name
138 138 branches list repository named branches
139 139 bundle create a changegroup file
140 140 cat output the current or given revision of files
141 141 clone make a copy of an existing repository
142 142 commit commit the specified files or all outstanding changes
143 143 copy mark files as copied for the next commit
144 144 diff diff repository (or selected files)
145 145 export dump the header and diffs for one or more changesets
146 146 forget forget the specified files on the next commit
147 147 graft copy changes from other branches onto the current branch
148 148 grep search for a pattern in specified files and revisions
149 149 heads show current repository heads or show branch heads
150 150 help show help for a given topic or a help overview
151 151 identify identify the working copy or specified revision
152 152 import import an ordered set of patches
153 153 incoming show new changesets found in source
154 154 init create a new repository in the given directory
155 155 locate locate files matching specific patterns
156 156 log show revision history of entire repository or files
157 157 manifest output the current or given revision of the project manifest
158 158 merge merge working directory with another revision
159 159 outgoing show changesets not found in the destination
160 160 parents show the parents of the working directory or revision
161 161 paths show aliases for remote repositories
162 162 phase set or show the current phase name
163 163 pull pull changes from the specified source
164 164 push push changes to the specified destination
165 165 recover roll back an interrupted transaction
166 166 remove remove the specified files on the next commit
167 167 rename rename files; equivalent of copy + remove
168 168 resolve redo merges or set/view the merge status of files
169 169 revert restore files to their checkout state
170 170 rollback roll back the last transaction (dangerous)
171 171 root print the root (top) of the current working directory
172 172 serve start stand-alone webserver
173 173 showconfig show combined config settings from all hgrc files
174 174 status show changed files in the working directory
175 175 summary summarize working directory state
176 176 tag add one or more tags for the current or given revision
177 177 tags list repository tags
178 178 tip show the tip revision
179 179 unbundle apply one or more changegroup files
180 180 update update working directory (or switch revisions)
181 181 verify verify the integrity of the repository
182 182 version output version and copyright information
183 183
184 184 additional help topics:
185 185
186 186 config Configuration Files
187 187 dates Date Formats
188 188 diffs Diff Formats
189 189 environment Environment Variables
190 190 extensions Using Additional Features
191 191 filesets Specifying File Sets
192 192 glossary Glossary
193 193 hgignore Syntax for Mercurial Ignore Files
194 194 hgweb Configuring hgweb
195 195 merge-tools Merge Tools
196 196 multirevs Specifying Multiple Revisions
197 197 patterns File Name Patterns
198 198 phases Working with Phases
199 199 revisions Specifying Single Revisions
200 200 revsets Specifying Revision Sets
201 201 subrepos Subrepositories
202 202 templating Template Usage
203 203 urls URL Paths
204 204
205 205 Test short command list with verbose option
206 206
207 207 $ hg -v help shortlist
208 208 Mercurial Distributed SCM
209 209
210 210 basic commands:
211 211
212 212 add add the specified files on the next commit
213 213 annotate, blame
214 214 show changeset information by line for each file
215 215 clone make a copy of an existing repository
216 216 commit, ci commit the specified files or all outstanding changes
217 217 diff diff repository (or selected files)
218 218 export dump the header and diffs for one or more changesets
219 219 forget forget the specified files on the next commit
220 220 init create a new repository in the given directory
221 221 log, history show revision history of entire repository or files
222 222 merge merge working directory with another revision
223 223 pull pull changes from the specified source
224 224 push push changes to the specified destination
225 225 remove, rm remove the specified files on the next commit
226 226 serve start stand-alone webserver
227 227 status, st show changed files in the working directory
228 228 summary, sum summarize working directory state
229 229 update, up, checkout, co
230 230 update working directory (or switch revisions)
231 231
232 232 global options:
233 233
234 234 -R --repository REPO repository root directory or name of overlay bundle
235 235 file
236 236 --cwd DIR change working directory
237 237 -y --noninteractive do not prompt, automatically pick the first choice for
238 238 all prompts
239 239 -q --quiet suppress output
240 240 -v --verbose enable additional output
241 241 --config CONFIG [+] set/override config option (use 'section.name=value')
242 242 --debug enable debugging output
243 243 --debugger start debugger
244 244 --encoding ENCODE set the charset encoding (default: ascii)
245 245 --encodingmode MODE set the charset encoding mode (default: strict)
246 246 --traceback always print a traceback on exception
247 247 --time time how long the command takes
248 248 --profile print command execution profile
249 249 --version output version information and exit
250 250 -h --help display help and exit
251 251 --hidden consider hidden changesets
252 252
253 253 [+] marked option can be specified multiple times
254 254
255 255 use "hg help" for the full list of commands
256 256
257 257 $ hg add -h
258 258 hg add [OPTION]... [FILE]...
259 259
260 260 add the specified files on the next commit
261 261
262 262 Schedule files to be version controlled and added to the repository.
263 263
264 264 The files will be added to the repository at the next commit. To undo an
265 265 add before that, see "hg forget".
266 266
267 267 If no names are given, add all files to the repository.
268 268
269 269 Returns 0 if all files are successfully added.
270 270
271 271 options:
272 272
273 273 -I --include PATTERN [+] include names matching the given patterns
274 274 -X --exclude PATTERN [+] exclude names matching the given patterns
275 275 -S --subrepos recurse into subrepositories
276 276 -n --dry-run do not perform actions, just print output
277 277
278 278 [+] marked option can be specified multiple times
279 279
280 280 use "hg -v help add" to show more complete help and the global options
281 281
282 282 Verbose help for add
283 283
284 284 $ hg add -hv
285 285 hg add [OPTION]... [FILE]...
286 286
287 287 add the specified files on the next commit
288 288
289 289 Schedule files to be version controlled and added to the repository.
290 290
291 291 The files will be added to the repository at the next commit. To undo an
292 292 add before that, see "hg forget".
293 293
294 294 If no names are given, add all files to the repository.
295 295
296 296 An example showing how new (unknown) files are added automatically by "hg
297 297 add":
298 298
299 299 $ ls
300 300 foo.c
301 301 $ hg status
302 302 ? foo.c
303 303 $ hg add
304 304 adding foo.c
305 305 $ hg status
306 306 A foo.c
307 307
308 308 Returns 0 if all files are successfully added.
309 309
310 310 options:
311 311
312 312 -I --include PATTERN [+] include names matching the given patterns
313 313 -X --exclude PATTERN [+] exclude names matching the given patterns
314 314 -S --subrepos recurse into subrepositories
315 315 -n --dry-run do not perform actions, just print output
316 316
317 317 [+] marked option can be specified multiple times
318 318
319 319 global options:
320 320
321 321 -R --repository REPO repository root directory or name of overlay bundle
322 322 file
323 323 --cwd DIR change working directory
324 324 -y --noninteractive do not prompt, automatically pick the first choice for
325 325 all prompts
326 326 -q --quiet suppress output
327 327 -v --verbose enable additional output
328 328 --config CONFIG [+] set/override config option (use 'section.name=value')
329 329 --debug enable debugging output
330 330 --debugger start debugger
331 331 --encoding ENCODE set the charset encoding (default: ascii)
332 332 --encodingmode MODE set the charset encoding mode (default: strict)
333 333 --traceback always print a traceback on exception
334 334 --time time how long the command takes
335 335 --profile print command execution profile
336 336 --version output version information and exit
337 337 -h --help display help and exit
338 338 --hidden consider hidden changesets
339 339
340 340 [+] marked option can be specified multiple times
341 341
342 342 Test help option with version option
343 343
344 344 $ hg add -h --version
345 345 Mercurial Distributed SCM (version *) (glob)
346 346 (see http://mercurial.selenic.com for more information)
347 347
348 348 Copyright (C) 2005-2012 Matt Mackall and others
349 349 This is free software; see the source for copying conditions. There is NO
350 350 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
351 351
352 352 $ hg add --skjdfks
353 353 hg add: option --skjdfks not recognized
354 354 hg add [OPTION]... [FILE]...
355 355
356 356 add the specified files on the next commit
357 357
358 358 options:
359 359
360 360 -I --include PATTERN [+] include names matching the given patterns
361 361 -X --exclude PATTERN [+] exclude names matching the given patterns
362 362 -S --subrepos recurse into subrepositories
363 363 -n --dry-run do not perform actions, just print output
364 364
365 365 [+] marked option can be specified multiple times
366 366
367 367 use "hg help add" to show the full help text
368 368 [255]
369 369
370 370 Test ambiguous command help
371 371
372 372 $ hg help ad
373 373 list of commands:
374 374
375 375 add add the specified files on the next commit
376 376 addremove add all new files, delete all missing files
377 377
378 378 use "hg -v help ad" to show builtin aliases and global options
379 379
380 380 Test command without options
381 381
382 382 $ hg help verify
383 383 hg verify
384 384
385 385 verify the integrity of the repository
386 386
387 387 Verify the integrity of the current repository.
388 388
389 389 This will perform an extensive check of the repository's integrity,
390 390 validating the hashes and checksums of each entry in the changelog,
391 391 manifest, and tracked files, as well as the integrity of their crosslinks
392 392 and indices.
393 393
394 394 Please see http://mercurial.selenic.com/wiki/RepositoryCorruption for more
395 395 information about recovery from corruption of the repository.
396 396
397 397 Returns 0 on success, 1 if errors are encountered.
398 398
399 399 use "hg -v help verify" to show the global options
400 400
401 401 $ hg help diff
402 402 hg diff [OPTION]... ([-c REV] | [-r REV1 [-r REV2]]) [FILE]...
403 403
404 404 diff repository (or selected files)
405 405
406 406 Show differences between revisions for the specified files.
407 407
408 408 Differences between files are shown using the unified diff format.
409 409
410 410 Note:
411 411 diff may generate unexpected results for merges, as it will default to
412 412 comparing against the working directory's first parent changeset if no
413 413 revisions are specified.
414 414
415 415 When two revision arguments are given, then changes are shown between
416 416 those revisions. If only one revision is specified then that revision is
417 417 compared to the working directory, and, when no revisions are specified,
418 418 the working directory files are compared to its parent.
419 419
420 420 Alternatively you can specify -c/--change with a revision to see the
421 421 changes in that changeset relative to its first parent.
422 422
423 423 Without the -a/--text option, diff will avoid generating diffs of files it
424 424 detects as binary. With -a, diff will generate a diff anyway, probably
425 425 with undesirable results.
426 426
427 427 Use the -g/--git option to generate diffs in the git extended diff format.
428 428 For more information, read "hg help diffs".
429 429
430 430 Returns 0 on success.
431 431
432 432 options:
433 433
434 434 -r --rev REV [+] revision
435 435 -c --change REV change made by revision
436 436 -a --text treat all files as text
437 437 -g --git use git extended diff format
438 438 --nodates omit dates from diff headers
439 439 -p --show-function show which function each change is in
440 440 --reverse produce a diff that undoes the changes
441 441 -w --ignore-all-space ignore white space when comparing lines
442 442 -b --ignore-space-change ignore changes in the amount of white space
443 443 -B --ignore-blank-lines ignore changes whose lines are all blank
444 444 -U --unified NUM number of lines of context to show
445 445 --stat output diffstat-style summary of changes
446 446 -I --include PATTERN [+] include names matching the given patterns
447 447 -X --exclude PATTERN [+] exclude names matching the given patterns
448 448 -S --subrepos recurse into subrepositories
449 449
450 450 [+] marked option can be specified multiple times
451 451
452 452 use "hg -v help diff" to show more complete help and the global options
453 453
454 454 $ hg help status
455 455 hg status [OPTION]... [FILE]...
456 456
457 457 aliases: st
458 458
459 459 show changed files in the working directory
460 460
461 461 Show status of files in the repository. If names are given, only files
462 462 that match are shown. Files that are clean or ignored or the source of a
463 463 copy/move operation, are not listed unless -c/--clean, -i/--ignored,
464 464 -C/--copies or -A/--all are given. Unless options described with "show
465 465 only ..." are given, the options -mardu are used.
466 466
467 467 Option -q/--quiet hides untracked (unknown and ignored) files unless
468 468 explicitly requested with -u/--unknown or -i/--ignored.
469 469
470 470 Note:
471 471 status may appear to disagree with diff if permissions have changed or
472 472 a merge has occurred. The standard diff format does not report
473 473 permission changes and diff only reports changes relative to one merge
474 474 parent.
475 475
476 476 If one revision is given, it is used as the base revision. If two
477 477 revisions are given, the differences between them are shown. The --change
478 478 option can also be used as a shortcut to list the changed files of a
479 479 revision from its first parent.
480 480
481 481 The codes used to show the status of files are:
482 482
483 483 M = modified
484 484 A = added
485 485 R = removed
486 486 C = clean
487 487 ! = missing (deleted by non-hg command, but still tracked)
488 488 ? = not tracked
489 489 I = ignored
490 490 = origin of the previous file listed as A (added)
491 491
492 492 Returns 0 on success.
493 493
494 494 options:
495 495
496 496 -A --all show status of all files
497 497 -m --modified show only modified files
498 498 -a --added show only added files
499 499 -r --removed show only removed files
500 500 -d --deleted show only deleted (but tracked) files
501 501 -c --clean show only files without changes
502 502 -u --unknown show only unknown (not tracked) files
503 503 -i --ignored show only ignored files
504 504 -n --no-status hide status prefix
505 505 -C --copies show source of copied files
506 506 -0 --print0 end filenames with NUL, for use with xargs
507 507 --rev REV [+] show difference from revision
508 508 --change REV list the changed files of a revision
509 509 -I --include PATTERN [+] include names matching the given patterns
510 510 -X --exclude PATTERN [+] exclude names matching the given patterns
511 511 -S --subrepos recurse into subrepositories
512 512
513 513 [+] marked option can be specified multiple times
514 514
515 515 use "hg -v help status" to show more complete help and the global options
516 516
517 517 $ hg -q help status
518 518 hg status [OPTION]... [FILE]...
519 519
520 520 show changed files in the working directory
521 521
522 522 $ hg help foo
523 523 hg: unknown command 'foo'
524 524 Mercurial Distributed SCM
525 525
526 526 basic commands:
527 527
528 528 add add the specified files on the next commit
529 529 annotate show changeset information by line for each file
530 530 clone make a copy of an existing repository
531 531 commit commit the specified files or all outstanding changes
532 532 diff diff repository (or selected files)
533 533 export dump the header and diffs for one or more changesets
534 534 forget forget the specified files on the next commit
535 535 init create a new repository in the given directory
536 536 log show revision history of entire repository or files
537 537 merge merge working directory with another revision
538 538 pull pull changes from the specified source
539 539 push push changes to the specified destination
540 540 remove remove the specified files on the next commit
541 541 serve start stand-alone webserver
542 542 status show changed files in the working directory
543 543 summary summarize working directory state
544 544 update update working directory (or switch revisions)
545 545
546 546 use "hg help" for the full list of commands or "hg -v" for details
547 547 [255]
548 548
549 549 $ hg skjdfks
550 550 hg: unknown command 'skjdfks'
551 551 Mercurial Distributed SCM
552 552
553 553 basic commands:
554 554
555 555 add add the specified files on the next commit
556 556 annotate show changeset information by line for each file
557 557 clone make a copy of an existing repository
558 558 commit commit the specified files or all outstanding changes
559 559 diff diff repository (or selected files)
560 560 export dump the header and diffs for one or more changesets
561 561 forget forget the specified files on the next commit
562 562 init create a new repository in the given directory
563 563 log show revision history of entire repository or files
564 564 merge merge working directory with another revision
565 565 pull pull changes from the specified source
566 566 push push changes to the specified destination
567 567 remove remove the specified files on the next commit
568 568 serve start stand-alone webserver
569 569 status show changed files in the working directory
570 570 summary summarize working directory state
571 571 update update working directory (or switch revisions)
572 572
573 573 use "hg help" for the full list of commands or "hg -v" for details
574 574 [255]
575 575
576 576 $ cat > helpext.py <<EOF
577 577 > import os
578 578 > from mercurial import commands
579 579 >
580 580 > def nohelp(ui, *args, **kwargs):
581 581 > pass
582 582 >
583 583 > cmdtable = {
584 584 > "nohelp": (nohelp, [], "hg nohelp"),
585 585 > }
586 586 >
587 587 > commands.norepo += ' nohelp'
588 588 > EOF
589 589 $ echo '[extensions]' >> $HGRCPATH
590 590 $ echo "helpext = `pwd`/helpext.py" >> $HGRCPATH
591 591
592 592 Test command with no help text
593 593
594 594 $ hg help nohelp
595 595 hg nohelp
596 596
597 597 (no help text available)
598 598
599 599 use "hg -v help nohelp" to show the global options
600 600
601 601 $ hg help -k nohelp
602 602 Commands:
603 603
604 604 nohelp hg nohelp
605 605
606 606 Extension Commands:
607 607
608 608 nohelp (no help text available)
609 609
610 610 Test that default list of commands omits extension commands
611 611
612 612 $ hg help
613 613 Mercurial Distributed SCM
614 614
615 615 list of commands:
616 616
617 617 add add the specified files on the next commit
618 618 addremove add all new files, delete all missing files
619 619 annotate show changeset information by line for each file
620 620 archive create an unversioned archive of a repository revision
621 621 backout reverse effect of earlier changeset
622 622 bisect subdivision search of changesets
623 623 bookmarks track a line of development with movable markers
624 624 branch set or show the current branch name
625 625 branches list repository named branches
626 626 bundle create a changegroup file
627 627 cat output the current or given revision of files
628 628 clone make a copy of an existing repository
629 629 commit commit the specified files or all outstanding changes
630 630 copy mark files as copied for the next commit
631 631 diff diff repository (or selected files)
632 632 export dump the header and diffs for one or more changesets
633 633 forget forget the specified files on the next commit
634 634 graft copy changes from other branches onto the current branch
635 635 grep search for a pattern in specified files and revisions
636 636 heads show current repository heads or show branch heads
637 637 help show help for a given topic or a help overview
638 638 identify identify the working copy or specified revision
639 639 import import an ordered set of patches
640 640 incoming show new changesets found in source
641 641 init create a new repository in the given directory
642 642 locate locate files matching specific patterns
643 643 log show revision history of entire repository or files
644 644 manifest output the current or given revision of the project manifest
645 645 merge merge working directory with another revision
646 646 outgoing show changesets not found in the destination
647 647 parents show the parents of the working directory or revision
648 648 paths show aliases for remote repositories
649 649 phase set or show the current phase name
650 650 pull pull changes from the specified source
651 651 push push changes to the specified destination
652 652 recover roll back an interrupted transaction
653 653 remove remove the specified files on the next commit
654 654 rename rename files; equivalent of copy + remove
655 655 resolve redo merges or set/view the merge status of files
656 656 revert restore files to their checkout state
657 657 rollback roll back the last transaction (dangerous)
658 658 root print the root (top) of the current working directory
659 659 serve start stand-alone webserver
660 660 showconfig show combined config settings from all hgrc files
661 661 status show changed files in the working directory
662 662 summary summarize working directory state
663 663 tag add one or more tags for the current or given revision
664 664 tags list repository tags
665 665 tip show the tip revision
666 666 unbundle apply one or more changegroup files
667 667 update update working directory (or switch revisions)
668 668 verify verify the integrity of the repository
669 669 version output version and copyright information
670 670
671 671 enabled extensions:
672 672
673 673 helpext (no help text available)
674 674
675 675 additional help topics:
676 676
677 677 config Configuration Files
678 678 dates Date Formats
679 679 diffs Diff Formats
680 680 environment Environment Variables
681 681 extensions Using Additional Features
682 682 filesets Specifying File Sets
683 683 glossary Glossary
684 684 hgignore Syntax for Mercurial Ignore Files
685 685 hgweb Configuring hgweb
686 686 merge-tools Merge Tools
687 687 multirevs Specifying Multiple Revisions
688 688 patterns File Name Patterns
689 689 phases Working with Phases
690 690 revisions Specifying Single Revisions
691 691 revsets Specifying Revision Sets
692 692 subrepos Subrepositories
693 693 templating Template Usage
694 694 urls URL Paths
695 695
696 696 use "hg -v help" to show builtin aliases and global options
697 697
698 698
699 699
700 700 Test list of commands with command with no help text
701 701
702 702 $ hg help helpext
703 703 helpext extension - no help text available
704 704
705 705 list of commands:
706 706
707 707 nohelp (no help text available)
708 708
709 709 use "hg -v help helpext" to show builtin aliases and global options
710 710
711 711 Test a help topic
712 712
713 713 $ hg help revs
714 714 Specifying Single Revisions
715 715
716 716 Mercurial supports several ways to specify individual revisions.
717 717
718 718 A plain integer is treated as a revision number. Negative integers are
719 719 treated as sequential offsets from the tip, with -1 denoting the tip, -2
720 720 denoting the revision prior to the tip, and so forth.
721 721
722 722 A 40-digit hexadecimal string is treated as a unique revision identifier.
723 723
724 724 A hexadecimal string less than 40 characters long is treated as a unique
725 725 revision identifier and is referred to as a short-form identifier. A
726 726 short-form identifier is only valid if it is the prefix of exactly one
727 727 full-length identifier.
728 728
729 729 Any other string is treated as a bookmark, tag, or branch name. A bookmark
730 730 is a movable pointer to a revision. A tag is a permanent name associated
731 731 with a revision. A branch name denotes the tipmost revision of that
732 732 branch. Bookmark, tag, and branch names must not contain the ":"
733 733 character.
734 734
735 735 The reserved name "tip" always identifies the most recent revision.
736 736
737 737 The reserved name "null" indicates the null revision. This is the revision
738 738 of an empty repository, and the parent of revision 0.
739 739
740 740 The reserved name "." indicates the working directory parent. If no
741 741 working directory is checked out, it is equivalent to null. If an
742 742 uncommitted merge is in progress, "." is the revision of the first parent.
743 743
744 744 Test templating help
745 745
746 746 $ hg help templating | egrep '(desc|diffstat|firstline|nonempty) '
747 747 desc String. The text of the changeset description.
748 748 diffstat String. Statistics of changes with the following format:
749 749 firstline Any text. Returns the first line of text.
750 750 nonempty Any text. Returns '(none)' if the string is empty.
751 751
752 752 Test help hooks
753 753
754 754 $ cat > helphook1.py <<EOF
755 755 > from mercurial import help
756 756 >
757 757 > def rewrite(topic, doc):
758 758 > return doc + '\nhelphook1\n'
759 759 >
760 760 > def extsetup(ui):
761 761 > help.addtopichook('revsets', rewrite)
762 762 > EOF
763 763 $ cat > helphook2.py <<EOF
764 764 > from mercurial import help
765 765 >
766 766 > def rewrite(topic, doc):
767 767 > return doc + '\nhelphook2\n'
768 768 >
769 769 > def extsetup(ui):
770 770 > help.addtopichook('revsets', rewrite)
771 771 > EOF
772 772 $ echo '[extensions]' >> $HGRCPATH
773 773 $ echo "helphook1 = `pwd`/helphook1.py" >> $HGRCPATH
774 774 $ echo "helphook2 = `pwd`/helphook2.py" >> $HGRCPATH
775 775 $ hg help revsets | grep helphook
776 776 helphook1
777 777 helphook2
778 778
779 779 Test keyword search help
780 780
781 781 $ hg help -k clone
782 782 Topics:
783 783
784 784 config Configuration Files
785 785 extensions Using Additional Features
786 786 glossary Glossary
787 787 phases Working with Phases
788 788 subrepos Subrepositories
789 789 urls URL Paths
790 790
791 791 Commands:
792 792
793 793 bookmarks track a line of development with movable markers
794 794 clone make a copy of an existing repository
795 795 paths show aliases for remote repositories
796 796 update update working directory (or switch revisions)
797 797
798 798 Extensions:
799 799
800 800 relink recreates hardlinks between repository clones
801 801
802 802 Extension Commands:
803 803
804 804 qclone clone main and patch repository at same time
805 805
806 806 Test omit indicating for help
807 807
808 808 $ cat > addverboseitems.py <<EOF
809 809 > '''extension to test omit indicating.
810 810 >
811 811 > This paragraph is never omitted (for extension)
812 812 >
813 813 > .. container:: verbose
814 814 >
815 815 > This paragraph is omitted,
816 816 > if :hg:\`help\` is invoked witout \`\`-v\`\` (for extension)
817 817 >
818 818 > This paragraph is never omitted, too (for extension)
819 819 > '''
820 820 >
821 821 > from mercurial import help, commands
822 822 > testtopic = """This paragraph is never omitted (for topic).
823 823 >
824 824 > .. container:: verbose
825 825 >
826 826 > This paragraph is omitted,
827 827 > if :hg:\`help\` is invoked witout \`\`-v\`\` (for topic)
828 828 >
829 829 > This paragraph is never omitted, too (for topic)
830 830 > """
831 831 > def extsetup(ui):
832 832 > help.helptable.append((["topic-containing-verbose"],
833 833 > "This is the topic to test omit indicating.",
834 834 > lambda : testtopic))
835 835 > EOF
836 836 $ echo '[extensions]' >> $HGRCPATH
837 837 $ echo "addverboseitems = `pwd`/addverboseitems.py" >> $HGRCPATH
838 838 $ hg help addverboseitems
839 839 addverboseitems extension - extension to test omit indicating.
840 840
841 841 This paragraph is never omitted (for extension)
842 842
843 843 This paragraph is never omitted, too (for extension)
844 844
845 845 use "hg help -v addverboseitems" to show more complete help
846 846
847 847 no commands defined
848 848 $ hg help -v addverboseitems
849 849 addverboseitems extension - extension to test omit indicating.
850 850
851 851 This paragraph is never omitted (for extension)
852 852
853 853 This paragraph is omitted, if "hg help" is invoked witout "-v" (for extension)
854 854
855 855 This paragraph is never omitted, too (for extension)
856 856
857 857 no commands defined
858 858 $ hg help topic-containing-verbose
859 859 This is the topic to test omit indicating.
860 860
861 861 This paragraph is never omitted (for topic).
862 862
863 863 This paragraph is never omitted, too (for topic)
864 864
865 865 use "hg help -v topic-containing-verbose" to show more complete help
866 866 $ hg help -v topic-containing-verbose
867 867 This is the topic to test omit indicating.
868 868
869 869 This paragraph is never omitted (for topic).
870 870
871 871 This paragraph is omitted, if "hg help" is invoked witout "-v" (for topic)
872 872
873 873 This paragraph is never omitted, too (for topic)
874 874
875 875 Test usage of section marks in help documents
876 876
877 877 $ cd "$TESTDIR"/../doc
878 878 $ python check-seclevel.py
879 879 $ cd $TESTTMP
880 880
881 881 #if serve
882 882
883 883 Test the help pages in hgweb.
884 884
885 885 Dish up an empty repo; serve it cold.
886 886
887 887 $ hg init "$TESTTMP/test"
888 888 $ hg serve -R "$TESTTMP/test" -n test -p $HGPORT -d --pid-file=hg.pid
889 889 $ cat hg.pid >> $DAEMON_PIDS
890 890
891 891 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT "help"
892 892 200 Script output follows
893 893
894 894 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
895 895 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
896 896 <head>
897 897 <link rel="icon" href="/static/hgicon.png" type="image/png" />
898 898 <meta name="robots" content="index, nofollow" />
899 899 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
900 900 <script type="text/javascript" src="/static/mercurial.js"></script>
901 901
902 902 <title>Help: Index</title>
903 903 </head>
904 904 <body>
905 905
906 906 <div class="container">
907 907 <div class="menu">
908 908 <div class="logo">
909 909 <a href="http://mercurial.selenic.com/">
910 910 <img src="/static/hglogo.png" alt="mercurial" /></a>
911 911 </div>
912 912 <ul>
913 913 <li><a href="/shortlog">log</a></li>
914 914 <li><a href="/graph">graph</a></li>
915 915 <li><a href="/tags">tags</a></li>
916 916 <li><a href="/bookmarks">bookmarks</a></li>
917 917 <li><a href="/branches">branches</a></li>
918 918 </ul>
919 919 <ul>
920 920 <li class="active">help</li>
921 921 </ul>
922 922 </div>
923 923
924 924 <div class="main">
925 925 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
926 926 <form class="search" action="/log">
927 927
928 928 <p><input name="rev" id="search1" type="text" size="30" /></p>
929 929 <div id="hint">find changesets by author, revision,
930 930 files, or words in the commit message</div>
931 931 </form>
932 932 <table class="bigtable">
933 933 <tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
934 <tr><td><a href="/help/config">config</a></td><td>Configuration Files</td></tr><tr><td><a href="/help/dates">dates</a></td><td>Date Formats</td></tr><tr><td><a href="/help/diffs">diffs</a></td><td>Diff Formats</td></tr><tr><td><a href="/help/environment">environment</a></td><td>Environment Variables</td></tr><tr><td><a href="/help/extensions">extensions</a></td><td>Using Additional Features</td></tr><tr><td><a href="/help/filesets">filesets</a></td><td>Specifying File Sets</td></tr><tr><td><a href="/help/glossary">glossary</a></td><td>Glossary</td></tr><tr><td><a href="/help/hgignore">hgignore</a></td><td>Syntax for Mercurial Ignore Files</td></tr><tr><td><a href="/help/hgweb">hgweb</a></td><td>Configuring hgweb</td></tr><tr><td><a href="/help/merge-tools">merge-tools</a></td><td>Merge Tools</td></tr><tr><td><a href="/help/multirevs">multirevs</a></td><td>Specifying Multiple Revisions</td></tr><tr><td><a href="/help/patterns">patterns</a></td><td>File Name Patterns</td></tr><tr><td><a href="/help/phases">phases</a></td><td>Working with Phases</td></tr><tr><td><a href="/help/revisions">revisions</a></td><td>Specifying Single Revisions</td></tr><tr><td><a href="/help/revsets">revsets</a></td><td>Specifying Revision Sets</td></tr><tr><td><a href="/help/subrepos">subrepos</a></td><td>Subrepositories</td></tr><tr><td><a href="/help/templating">templating</a></td><td>Template Usage</td></tr><tr><td><a href="/help/urls">urls</a></td><td>URL Paths</td></tr><tr><td><a href="/help/topic-containing-verbose">topic-containing-verbose</a></td><td>This is the topic to test omit indicating.</td></tr>
934
935 <tr><td>
936 <a href="/help/config">
937 config
938 </a>
939 </td><td>
940 Configuration Files
941 </td></tr>
942 <tr><td>
943 <a href="/help/dates">
944 dates
945 </a>
946 </td><td>
947 Date Formats
948 </td></tr>
949 <tr><td>
950 <a href="/help/diffs">
951 diffs
952 </a>
953 </td><td>
954 Diff Formats
955 </td></tr>
956 <tr><td>
957 <a href="/help/environment">
958 environment
959 </a>
960 </td><td>
961 Environment Variables
962 </td></tr>
963 <tr><td>
964 <a href="/help/extensions">
965 extensions
966 </a>
967 </td><td>
968 Using Additional Features
969 </td></tr>
970 <tr><td>
971 <a href="/help/filesets">
972 filesets
973 </a>
974 </td><td>
975 Specifying File Sets
976 </td></tr>
977 <tr><td>
978 <a href="/help/glossary">
979 glossary
980 </a>
981 </td><td>
982 Glossary
983 </td></tr>
984 <tr><td>
985 <a href="/help/hgignore">
986 hgignore
987 </a>
988 </td><td>
989 Syntax for Mercurial Ignore Files
990 </td></tr>
991 <tr><td>
992 <a href="/help/hgweb">
993 hgweb
994 </a>
995 </td><td>
996 Configuring hgweb
997 </td></tr>
998 <tr><td>
999 <a href="/help/merge-tools">
1000 merge-tools
1001 </a>
1002 </td><td>
1003 Merge Tools
1004 </td></tr>
1005 <tr><td>
1006 <a href="/help/multirevs">
1007 multirevs
1008 </a>
1009 </td><td>
1010 Specifying Multiple Revisions
1011 </td></tr>
1012 <tr><td>
1013 <a href="/help/patterns">
1014 patterns
1015 </a>
1016 </td><td>
1017 File Name Patterns
1018 </td></tr>
1019 <tr><td>
1020 <a href="/help/phases">
1021 phases
1022 </a>
1023 </td><td>
1024 Working with Phases
1025 </td></tr>
1026 <tr><td>
1027 <a href="/help/revisions">
1028 revisions
1029 </a>
1030 </td><td>
1031 Specifying Single Revisions
1032 </td></tr>
1033 <tr><td>
1034 <a href="/help/revsets">
1035 revsets
1036 </a>
1037 </td><td>
1038 Specifying Revision Sets
1039 </td></tr>
1040 <tr><td>
1041 <a href="/help/subrepos">
1042 subrepos
1043 </a>
1044 </td><td>
1045 Subrepositories
1046 </td></tr>
1047 <tr><td>
1048 <a href="/help/templating">
1049 templating
1050 </a>
1051 </td><td>
1052 Template Usage
1053 </td></tr>
1054 <tr><td>
1055 <a href="/help/urls">
1056 urls
1057 </a>
1058 </td><td>
1059 URL Paths
1060 </td></tr>
1061 <tr><td>
1062 <a href="/help/topic-containing-verbose">
1063 topic-containing-verbose
1064 </a>
1065 </td><td>
1066 This is the topic to test omit indicating.
1067 </td></tr>
935 1068
936 1069 <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr>
937 <tr><td><a href="/help/add">add</a></td><td>add the specified files on the next commit</td></tr><tr><td><a href="/help/annotate">annotate</a></td><td>show changeset information by line for each file</td></tr><tr><td><a href="/help/clone">clone</a></td><td>make a copy of an existing repository</td></tr><tr><td><a href="/help/commit">commit</a></td><td>commit the specified files or all outstanding changes</td></tr><tr><td><a href="/help/diff">diff</a></td><td>diff repository (or selected files)</td></tr><tr><td><a href="/help/export">export</a></td><td>dump the header and diffs for one or more changesets</td></tr><tr><td><a href="/help/forget">forget</a></td><td>forget the specified files on the next commit</td></tr><tr><td><a href="/help/init">init</a></td><td>create a new repository in the given directory</td></tr><tr><td><a href="/help/log">log</a></td><td>show revision history of entire repository or files</td></tr><tr><td><a href="/help/merge">merge</a></td><td>merge working directory with another revision</td></tr><tr><td><a href="/help/pull">pull</a></td><td>pull changes from the specified source</td></tr><tr><td><a href="/help/push">push</a></td><td>push changes to the specified destination</td></tr><tr><td><a href="/help/remove">remove</a></td><td>remove the specified files on the next commit</td></tr><tr><td><a href="/help/serve">serve</a></td><td>start stand-alone webserver</td></tr><tr><td><a href="/help/status">status</a></td><td>show changed files in the working directory</td></tr><tr><td><a href="/help/summary">summary</a></td><td>summarize working directory state</td></tr><tr><td><a href="/help/update">update</a></td><td>update working directory (or switch revisions)</td></tr>
1070
1071 <tr><td>
1072 <a href="/help/add">
1073 add
1074 </a>
1075 </td><td>
1076 add the specified files on the next commit
1077 </td></tr>
1078 <tr><td>
1079 <a href="/help/annotate">
1080 annotate
1081 </a>
1082 </td><td>
1083 show changeset information by line for each file
1084 </td></tr>
1085 <tr><td>
1086 <a href="/help/clone">
1087 clone
1088 </a>
1089 </td><td>
1090 make a copy of an existing repository
1091 </td></tr>
1092 <tr><td>
1093 <a href="/help/commit">
1094 commit
1095 </a>
1096 </td><td>
1097 commit the specified files or all outstanding changes
1098 </td></tr>
1099 <tr><td>
1100 <a href="/help/diff">
1101 diff
1102 </a>
1103 </td><td>
1104 diff repository (or selected files)
1105 </td></tr>
1106 <tr><td>
1107 <a href="/help/export">
1108 export
1109 </a>
1110 </td><td>
1111 dump the header and diffs for one or more changesets
1112 </td></tr>
1113 <tr><td>
1114 <a href="/help/forget">
1115 forget
1116 </a>
1117 </td><td>
1118 forget the specified files on the next commit
1119 </td></tr>
1120 <tr><td>
1121 <a href="/help/init">
1122 init
1123 </a>
1124 </td><td>
1125 create a new repository in the given directory
1126 </td></tr>
1127 <tr><td>
1128 <a href="/help/log">
1129 log
1130 </a>
1131 </td><td>
1132 show revision history of entire repository or files
1133 </td></tr>
1134 <tr><td>
1135 <a href="/help/merge">
1136 merge
1137 </a>
1138 </td><td>
1139 merge working directory with another revision
1140 </td></tr>
1141 <tr><td>
1142 <a href="/help/pull">
1143 pull
1144 </a>
1145 </td><td>
1146 pull changes from the specified source
1147 </td></tr>
1148 <tr><td>
1149 <a href="/help/push">
1150 push
1151 </a>
1152 </td><td>
1153 push changes to the specified destination
1154 </td></tr>
1155 <tr><td>
1156 <a href="/help/remove">
1157 remove
1158 </a>
1159 </td><td>
1160 remove the specified files on the next commit
1161 </td></tr>
1162 <tr><td>
1163 <a href="/help/serve">
1164 serve
1165 </a>
1166 </td><td>
1167 start stand-alone webserver
1168 </td></tr>
1169 <tr><td>
1170 <a href="/help/status">
1171 status
1172 </a>
1173 </td><td>
1174 show changed files in the working directory
1175 </td></tr>
1176 <tr><td>
1177 <a href="/help/summary">
1178 summary
1179 </a>
1180 </td><td>
1181 summarize working directory state
1182 </td></tr>
1183 <tr><td>
1184 <a href="/help/update">
1185 update
1186 </a>
1187 </td><td>
1188 update working directory (or switch revisions)
1189 </td></tr>
938 1190
939 1191 <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr>
940 <tr><td><a href="/help/addremove">addremove</a></td><td>add all new files, delete all missing files</td></tr><tr><td><a href="/help/archive">archive</a></td><td>create an unversioned archive of a repository revision</td></tr><tr><td><a href="/help/backout">backout</a></td><td>reverse effect of earlier changeset</td></tr><tr><td><a href="/help/bisect">bisect</a></td><td>subdivision search of changesets</td></tr><tr><td><a href="/help/bookmarks">bookmarks</a></td><td>track a line of development with movable markers</td></tr><tr><td><a href="/help/branch">branch</a></td><td>set or show the current branch name</td></tr><tr><td><a href="/help/branches">branches</a></td><td>list repository named branches</td></tr><tr><td><a href="/help/bundle">bundle</a></td><td>create a changegroup file</td></tr><tr><td><a href="/help/cat">cat</a></td><td>output the current or given revision of files</td></tr><tr><td><a href="/help/copy">copy</a></td><td>mark files as copied for the next commit</td></tr><tr><td><a href="/help/graft">graft</a></td><td>copy changes from other branches onto the current branch</td></tr><tr><td><a href="/help/grep">grep</a></td><td>search for a pattern in specified files and revisions</td></tr><tr><td><a href="/help/heads">heads</a></td><td>show current repository heads or show branch heads</td></tr><tr><td><a href="/help/help">help</a></td><td>show help for a given topic or a help overview</td></tr><tr><td><a href="/help/identify">identify</a></td><td>identify the working copy or specified revision</td></tr><tr><td><a href="/help/import">import</a></td><td>import an ordered set of patches</td></tr><tr><td><a href="/help/incoming">incoming</a></td><td>show new changesets found in source</td></tr><tr><td><a href="/help/locate">locate</a></td><td>locate files matching specific patterns</td></tr><tr><td><a href="/help/manifest">manifest</a></td><td>output the current or given revision of the project manifest</td></tr><tr><td><a href="/help/nohelp">nohelp</a></td><td>(no help text available)</td></tr><tr><td><a href="/help/outgoing">outgoing</a></td><td>show changesets not found in the destination</td></tr><tr><td><a href="/help/parents">parents</a></td><td>show the parents of the working directory or revision</td></tr><tr><td><a href="/help/paths">paths</a></td><td>show aliases for remote repositories</td></tr><tr><td><a href="/help/phase">phase</a></td><td>set or show the current phase name</td></tr><tr><td><a href="/help/recover">recover</a></td><td>roll back an interrupted transaction</td></tr><tr><td><a href="/help/rename">rename</a></td><td>rename files; equivalent of copy + remove</td></tr><tr><td><a href="/help/resolve">resolve</a></td><td>redo merges or set/view the merge status of files</td></tr><tr><td><a href="/help/revert">revert</a></td><td>restore files to their checkout state</td></tr><tr><td><a href="/help/rollback">rollback</a></td><td>roll back the last transaction (dangerous)</td></tr><tr><td><a href="/help/root">root</a></td><td>print the root (top) of the current working directory</td></tr><tr><td><a href="/help/showconfig">showconfig</a></td><td>show combined config settings from all hgrc files</td></tr><tr><td><a href="/help/tag">tag</a></td><td>add one or more tags for the current or given revision</td></tr><tr><td><a href="/help/tags">tags</a></td><td>list repository tags</td></tr><tr><td><a href="/help/tip">tip</a></td><td>show the tip revision</td></tr><tr><td><a href="/help/unbundle">unbundle</a></td><td>apply one or more changegroup files</td></tr><tr><td><a href="/help/verify">verify</a></td><td>verify the integrity of the repository</td></tr><tr><td><a href="/help/version">version</a></td><td>output version and copyright information</td></tr>
1192
1193 <tr><td>
1194 <a href="/help/addremove">
1195 addremove
1196 </a>
1197 </td><td>
1198 add all new files, delete all missing files
1199 </td></tr>
1200 <tr><td>
1201 <a href="/help/archive">
1202 archive
1203 </a>
1204 </td><td>
1205 create an unversioned archive of a repository revision
1206 </td></tr>
1207 <tr><td>
1208 <a href="/help/backout">
1209 backout
1210 </a>
1211 </td><td>
1212 reverse effect of earlier changeset
1213 </td></tr>
1214 <tr><td>
1215 <a href="/help/bisect">
1216 bisect
1217 </a>
1218 </td><td>
1219 subdivision search of changesets
1220 </td></tr>
1221 <tr><td>
1222 <a href="/help/bookmarks">
1223 bookmarks
1224 </a>
1225 </td><td>
1226 track a line of development with movable markers
1227 </td></tr>
1228 <tr><td>
1229 <a href="/help/branch">
1230 branch
1231 </a>
1232 </td><td>
1233 set or show the current branch name
1234 </td></tr>
1235 <tr><td>
1236 <a href="/help/branches">
1237 branches
1238 </a>
1239 </td><td>
1240 list repository named branches
1241 </td></tr>
1242 <tr><td>
1243 <a href="/help/bundle">
1244 bundle
1245 </a>
1246 </td><td>
1247 create a changegroup file
1248 </td></tr>
1249 <tr><td>
1250 <a href="/help/cat">
1251 cat
1252 </a>
1253 </td><td>
1254 output the current or given revision of files
1255 </td></tr>
1256 <tr><td>
1257 <a href="/help/copy">
1258 copy
1259 </a>
1260 </td><td>
1261 mark files as copied for the next commit
1262 </td></tr>
1263 <tr><td>
1264 <a href="/help/graft">
1265 graft
1266 </a>
1267 </td><td>
1268 copy changes from other branches onto the current branch
1269 </td></tr>
1270 <tr><td>
1271 <a href="/help/grep">
1272 grep
1273 </a>
1274 </td><td>
1275 search for a pattern in specified files and revisions
1276 </td></tr>
1277 <tr><td>
1278 <a href="/help/heads">
1279 heads
1280 </a>
1281 </td><td>
1282 show current repository heads or show branch heads
1283 </td></tr>
1284 <tr><td>
1285 <a href="/help/help">
1286 help
1287 </a>
1288 </td><td>
1289 show help for a given topic or a help overview
1290 </td></tr>
1291 <tr><td>
1292 <a href="/help/identify">
1293 identify
1294 </a>
1295 </td><td>
1296 identify the working copy or specified revision
1297 </td></tr>
1298 <tr><td>
1299 <a href="/help/import">
1300 import
1301 </a>
1302 </td><td>
1303 import an ordered set of patches
1304 </td></tr>
1305 <tr><td>
1306 <a href="/help/incoming">
1307 incoming
1308 </a>
1309 </td><td>
1310 show new changesets found in source
1311 </td></tr>
1312 <tr><td>
1313 <a href="/help/locate">
1314 locate
1315 </a>
1316 </td><td>
1317 locate files matching specific patterns
1318 </td></tr>
1319 <tr><td>
1320 <a href="/help/manifest">
1321 manifest
1322 </a>
1323 </td><td>
1324 output the current or given revision of the project manifest
1325 </td></tr>
1326 <tr><td>
1327 <a href="/help/nohelp">
1328 nohelp
1329 </a>
1330 </td><td>
1331 (no help text available)
1332 </td></tr>
1333 <tr><td>
1334 <a href="/help/outgoing">
1335 outgoing
1336 </a>
1337 </td><td>
1338 show changesets not found in the destination
1339 </td></tr>
1340 <tr><td>
1341 <a href="/help/parents">
1342 parents
1343 </a>
1344 </td><td>
1345 show the parents of the working directory or revision
1346 </td></tr>
1347 <tr><td>
1348 <a href="/help/paths">
1349 paths
1350 </a>
1351 </td><td>
1352 show aliases for remote repositories
1353 </td></tr>
1354 <tr><td>
1355 <a href="/help/phase">
1356 phase
1357 </a>
1358 </td><td>
1359 set or show the current phase name
1360 </td></tr>
1361 <tr><td>
1362 <a href="/help/recover">
1363 recover
1364 </a>
1365 </td><td>
1366 roll back an interrupted transaction
1367 </td></tr>
1368 <tr><td>
1369 <a href="/help/rename">
1370 rename
1371 </a>
1372 </td><td>
1373 rename files; equivalent of copy + remove
1374 </td></tr>
1375 <tr><td>
1376 <a href="/help/resolve">
1377 resolve
1378 </a>
1379 </td><td>
1380 redo merges or set/view the merge status of files
1381 </td></tr>
1382 <tr><td>
1383 <a href="/help/revert">
1384 revert
1385 </a>
1386 </td><td>
1387 restore files to their checkout state
1388 </td></tr>
1389 <tr><td>
1390 <a href="/help/rollback">
1391 rollback
1392 </a>
1393 </td><td>
1394 roll back the last transaction (dangerous)
1395 </td></tr>
1396 <tr><td>
1397 <a href="/help/root">
1398 root
1399 </a>
1400 </td><td>
1401 print the root (top) of the current working directory
1402 </td></tr>
1403 <tr><td>
1404 <a href="/help/showconfig">
1405 showconfig
1406 </a>
1407 </td><td>
1408 show combined config settings from all hgrc files
1409 </td></tr>
1410 <tr><td>
1411 <a href="/help/tag">
1412 tag
1413 </a>
1414 </td><td>
1415 add one or more tags for the current or given revision
1416 </td></tr>
1417 <tr><td>
1418 <a href="/help/tags">
1419 tags
1420 </a>
1421 </td><td>
1422 list repository tags
1423 </td></tr>
1424 <tr><td>
1425 <a href="/help/tip">
1426 tip
1427 </a>
1428 </td><td>
1429 show the tip revision
1430 </td></tr>
1431 <tr><td>
1432 <a href="/help/unbundle">
1433 unbundle
1434 </a>
1435 </td><td>
1436 apply one or more changegroup files
1437 </td></tr>
1438 <tr><td>
1439 <a href="/help/verify">
1440 verify
1441 </a>
1442 </td><td>
1443 verify the integrity of the repository
1444 </td></tr>
1445 <tr><td>
1446 <a href="/help/version">
1447 version
1448 </a>
1449 </td><td>
1450 output version and copyright information
1451 </td></tr>
941 1452 </table>
942 1453 </div>
943 1454 </div>
944 1455
945 1456 <script type="text/javascript">process_dates()</script>
946 1457
947 1458
948 1459 </body>
949 1460 </html>
950 1461
951 1462
952 1463 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT "help/add"
953 1464 200 Script output follows
954 1465
955 1466 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
956 1467 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
957 1468 <head>
958 1469 <link rel="icon" href="/static/hgicon.png" type="image/png" />
959 1470 <meta name="robots" content="index, nofollow" />
960 1471 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
961 1472 <script type="text/javascript" src="/static/mercurial.js"></script>
962 1473
963 1474 <title>Help: add</title>
964 1475 </head>
965 1476 <body>
966 1477
967 1478 <div class="container">
968 1479 <div class="menu">
969 1480 <div class="logo">
970 1481 <a href="http://mercurial.selenic.com/">
971 1482 <img src="/static/hglogo.png" alt="mercurial" /></a>
972 1483 </div>
973 1484 <ul>
974 1485 <li><a href="/shortlog">log</a></li>
975 1486 <li><a href="/graph">graph</a></li>
976 1487 <li><a href="/tags">tags</a></li>
977 1488 <li><a href="/bookmarks">bookmarks</a></li>
978 1489 <li><a href="/branches">branches</a></li>
979 1490 </ul>
980 1491 <ul>
981 1492 <li class="active"><a href="/help">help</a></li>
982 1493 </ul>
983 1494 </div>
984 1495
985 1496 <div class="main">
986 1497 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
987 1498 <h3>Help: add</h3>
988 1499
989 1500 <form class="search" action="/log">
990 1501
991 1502 <p><input name="rev" id="search1" type="text" size="30" /></p>
992 1503 <div id="hint">find changesets by author, revision,
993 1504 files, or words in the commit message</div>
994 1505 </form>
995 1506 <pre>
996 1507 hg add [OPTION]... [FILE]...
997 1508
998 1509 add the specified files on the next commit
999 1510
1000 1511 Schedule files to be version controlled and added to the repository.
1001 1512
1002 1513 The files will be added to the repository at the next commit. To undo an
1003 1514 add before that, see &quot;hg forget&quot;.
1004 1515
1005 1516 If no names are given, add all files to the repository.
1006 1517
1007 1518 An example showing how new (unknown) files are added automatically by &quot;hg
1008 1519 add&quot;:
1009 1520
1010 1521 $ ls
1011 1522 foo.c
1012 1523 $ hg status
1013 1524 ? foo.c
1014 1525 $ hg add
1015 1526 adding foo.c
1016 1527 $ hg status
1017 1528 A foo.c
1018 1529
1019 1530 Returns 0 if all files are successfully added.
1020 1531
1021 1532 options:
1022 1533
1023 1534 -I --include PATTERN [+] include names matching the given patterns
1024 1535 -X --exclude PATTERN [+] exclude names matching the given patterns
1025 1536 -S --subrepos recurse into subrepositories
1026 1537 -n --dry-run do not perform actions, just print output
1027 1538
1028 1539 [+] marked option can be specified multiple times
1029 1540
1030 1541 global options:
1031 1542
1032 1543 -R --repository REPO repository root directory or name of overlay bundle
1033 1544 file
1034 1545 --cwd DIR change working directory
1035 1546 -y --noninteractive do not prompt, automatically pick the first choice for
1036 1547 all prompts
1037 1548 -q --quiet suppress output
1038 1549 -v --verbose enable additional output
1039 1550 --config CONFIG [+] set/override config option (use 'section.name=value')
1040 1551 --debug enable debugging output
1041 1552 --debugger start debugger
1042 1553 --encoding ENCODE set the charset encoding (default: ascii)
1043 1554 --encodingmode MODE set the charset encoding mode (default: strict)
1044 1555 --traceback always print a traceback on exception
1045 1556 --time time how long the command takes
1046 1557 --profile print command execution profile
1047 1558 --version output version information and exit
1048 1559 -h --help display help and exit
1049 1560 --hidden consider hidden changesets
1050 1561
1051 1562 [+] marked option can be specified multiple times
1052 1563
1053 1564 </pre>
1054 1565 </div>
1055 1566 </div>
1056 1567
1057 1568 <script type="text/javascript">process_dates()</script>
1058 1569
1059 1570
1060 1571 </body>
1061 1572 </html>
1062 1573
1063 1574
1064 1575 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT "help/remove"
1065 1576 200 Script output follows
1066 1577
1067 1578 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1068 1579 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1069 1580 <head>
1070 1581 <link rel="icon" href="/static/hgicon.png" type="image/png" />
1071 1582 <meta name="robots" content="index, nofollow" />
1072 1583 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
1073 1584 <script type="text/javascript" src="/static/mercurial.js"></script>
1074 1585
1075 1586 <title>Help: remove</title>
1076 1587 </head>
1077 1588 <body>
1078 1589
1079 1590 <div class="container">
1080 1591 <div class="menu">
1081 1592 <div class="logo">
1082 1593 <a href="http://mercurial.selenic.com/">
1083 1594 <img src="/static/hglogo.png" alt="mercurial" /></a>
1084 1595 </div>
1085 1596 <ul>
1086 1597 <li><a href="/shortlog">log</a></li>
1087 1598 <li><a href="/graph">graph</a></li>
1088 1599 <li><a href="/tags">tags</a></li>
1089 1600 <li><a href="/bookmarks">bookmarks</a></li>
1090 1601 <li><a href="/branches">branches</a></li>
1091 1602 </ul>
1092 1603 <ul>
1093 1604 <li class="active"><a href="/help">help</a></li>
1094 1605 </ul>
1095 1606 </div>
1096 1607
1097 1608 <div class="main">
1098 1609 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1099 1610 <h3>Help: remove</h3>
1100 1611
1101 1612 <form class="search" action="/log">
1102 1613
1103 1614 <p><input name="rev" id="search1" type="text" size="30" /></p>
1104 1615 <div id="hint">find changesets by author, revision,
1105 1616 files, or words in the commit message</div>
1106 1617 </form>
1107 1618 <pre>
1108 1619 hg remove [OPTION]... FILE...
1109 1620
1110 1621 aliases: rm
1111 1622
1112 1623 remove the specified files on the next commit
1113 1624
1114 1625 Schedule the indicated files for removal from the current branch.
1115 1626
1116 1627 This command schedules the files to be removed at the next commit. To undo
1117 1628 a remove before that, see &quot;hg revert&quot;. To undo added files, see &quot;hg
1118 1629 forget&quot;.
1119 1630
1120 1631 -A/--after can be used to remove only files that have already been
1121 1632 deleted, -f/--force can be used to force deletion, and -Af can be used to
1122 1633 remove files from the next revision without deleting them from the working
1123 1634 directory.
1124 1635
1125 1636 The following table details the behavior of remove for different file
1126 1637 states (columns) and option combinations (rows). The file states are Added
1127 1638 [A], Clean [C], Modified [M] and Missing [!] (as reported by &quot;hg status&quot;).
1128 1639 The actions are Warn, Remove (from branch) and Delete (from disk):
1129 1640
1130 1641 A C M !
1131 1642 --------------
1132 1643 none W RD W R
1133 1644 -f R RD RD R
1134 1645 -A W W W R
1135 1646 -Af R R R R
1136 1647
1137 1648 Note that remove never deletes files in Added [A] state from the working
1138 1649 directory, not even if option --force is specified.
1139 1650
1140 1651 Returns 0 on success, 1 if any warnings encountered.
1141 1652
1142 1653 options:
1143 1654
1144 1655 -A --after record delete for missing files
1145 1656 -f --force remove (and delete) file even if added or modified
1146 1657 -I --include PATTERN [+] include names matching the given patterns
1147 1658 -X --exclude PATTERN [+] exclude names matching the given patterns
1148 1659
1149 1660 [+] marked option can be specified multiple times
1150 1661
1151 1662 global options:
1152 1663
1153 1664 -R --repository REPO repository root directory or name of overlay bundle
1154 1665 file
1155 1666 --cwd DIR change working directory
1156 1667 -y --noninteractive do not prompt, automatically pick the first choice for
1157 1668 all prompts
1158 1669 -q --quiet suppress output
1159 1670 -v --verbose enable additional output
1160 1671 --config CONFIG [+] set/override config option (use 'section.name=value')
1161 1672 --debug enable debugging output
1162 1673 --debugger start debugger
1163 1674 --encoding ENCODE set the charset encoding (default: ascii)
1164 1675 --encodingmode MODE set the charset encoding mode (default: strict)
1165 1676 --traceback always print a traceback on exception
1166 1677 --time time how long the command takes
1167 1678 --profile print command execution profile
1168 1679 --version output version information and exit
1169 1680 -h --help display help and exit
1170 1681 --hidden consider hidden changesets
1171 1682
1172 1683 [+] marked option can be specified multiple times
1173 1684
1174 1685 </pre>
1175 1686 </div>
1176 1687 </div>
1177 1688
1178 1689 <script type="text/javascript">process_dates()</script>
1179 1690
1180 1691
1181 1692 </body>
1182 1693 </html>
1183 1694
1184 1695
1185 1696 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT "help/revisions"
1186 1697 200 Script output follows
1187 1698
1188 1699 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1189 1700 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1190 1701 <head>
1191 1702 <link rel="icon" href="/static/hgicon.png" type="image/png" />
1192 1703 <meta name="robots" content="index, nofollow" />
1193 1704 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
1194 1705 <script type="text/javascript" src="/static/mercurial.js"></script>
1195 1706
1196 1707 <title>Help: revisions</title>
1197 1708 </head>
1198 1709 <body>
1199 1710
1200 1711 <div class="container">
1201 1712 <div class="menu">
1202 1713 <div class="logo">
1203 1714 <a href="http://mercurial.selenic.com/">
1204 1715 <img src="/static/hglogo.png" alt="mercurial" /></a>
1205 1716 </div>
1206 1717 <ul>
1207 1718 <li><a href="/shortlog">log</a></li>
1208 1719 <li><a href="/graph">graph</a></li>
1209 1720 <li><a href="/tags">tags</a></li>
1210 1721 <li><a href="/bookmarks">bookmarks</a></li>
1211 1722 <li><a href="/branches">branches</a></li>
1212 1723 </ul>
1213 1724 <ul>
1214 1725 <li class="active"><a href="/help">help</a></li>
1215 1726 </ul>
1216 1727 </div>
1217 1728
1218 1729 <div class="main">
1219 1730 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1220 1731 <h3>Help: revisions</h3>
1221 1732
1222 1733 <form class="search" action="/log">
1223 1734
1224 1735 <p><input name="rev" id="search1" type="text" size="30" /></p>
1225 1736 <div id="hint">find changesets by author, revision,
1226 1737 files, or words in the commit message</div>
1227 1738 </form>
1228 1739 <pre>
1229 1740 Specifying Single Revisions
1230 1741
1231 1742 Mercurial supports several ways to specify individual revisions.
1232 1743
1233 1744 A plain integer is treated as a revision number. Negative integers are
1234 1745 treated as sequential offsets from the tip, with -1 denoting the tip, -2
1235 1746 denoting the revision prior to the tip, and so forth.
1236 1747
1237 1748 A 40-digit hexadecimal string is treated as a unique revision identifier.
1238 1749
1239 1750 A hexadecimal string less than 40 characters long is treated as a unique
1240 1751 revision identifier and is referred to as a short-form identifier. A
1241 1752 short-form identifier is only valid if it is the prefix of exactly one
1242 1753 full-length identifier.
1243 1754
1244 1755 Any other string is treated as a bookmark, tag, or branch name. A bookmark
1245 1756 is a movable pointer to a revision. A tag is a permanent name associated
1246 1757 with a revision. A branch name denotes the tipmost revision of that
1247 1758 branch. Bookmark, tag, and branch names must not contain the &quot;:&quot;
1248 1759 character.
1249 1760
1250 1761 The reserved name &quot;tip&quot; always identifies the most recent revision.
1251 1762
1252 1763 The reserved name &quot;null&quot; indicates the null revision. This is the revision
1253 1764 of an empty repository, and the parent of revision 0.
1254 1765
1255 1766 The reserved name &quot;.&quot; indicates the working directory parent. If no
1256 1767 working directory is checked out, it is equivalent to null. If an
1257 1768 uncommitted merge is in progress, &quot;.&quot; is the revision of the first parent.
1258 1769
1259 1770 </pre>
1260 1771 </div>
1261 1772 </div>
1262 1773
1263 1774 <script type="text/javascript">process_dates()</script>
1264 1775
1265 1776
1266 1777 </body>
1267 1778 </html>
1268 1779
1269 1780
1270 1781 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
1271 1782
1272 1783 #endif
General Comments 0
You need to be logged in to leave comments. Login now