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