Fossil SCM

Several consistency changes.

brickviking 2024-12-27 11:38 bv-infotool
Commit 4be42dc68b4dab56e06deefb7bba986373d5c9aef3a81da964758545701eae27
1 file changed +4 -6
--- tools/fossil-makeinfo
+++ tools/fossil-makeinfo
@@ -33,10 +33,11 @@
3333
printf "@c Initial rendition to convert fossil help -a -v into texinfo for further
3434
@c massaging by makeinfo. Scripts to do this automatically may come
3535
@c later. Don't expect this to conform to GNU guidelines.
3636
3737
" >> fossil.texi
38
+
3839
# Add a title page
3940
printf "@titlepage
4041
@title Fossil
4142
@subtitle The Fossil Source Code Manager (fossil-scm)
4243
@subtitle A distributed version control system
@@ -161,14 +162,14 @@
161162
@end example
162163
163164
They are similar to commands that are available in other VCS programs such as
164165
subversion, git or mercurial.
165166
167
+@menu
166168
" >> fossil.texi
167169
168170
# begin menu for common keywords
169
-printf "@menu\n" >> fossil.texi
170171
171172
# Slurp in Common keywords from fossil help
172173
# WARNING: tail count is brittle
173174
echo "Grab common keywords for menu"
174175
for u in $(for t in $(fossil help | tail -n +4| sed '$d'); do echo "$t"; done | sort); do echo "* ${u}::"; done >> fossil.texi
@@ -281,17 +282,15 @@
281282
They're often used to solve specific little problems that didn't warrant a full
282283
tool, but are useful enough to be kept around. They are most definitely not
283284
supported, and the developers will expect to change these far more often. They
284285
are not stable, so do not depend upon their behavior, or even their existence.
285286
286
-@menu
287
-" >> fossil.texi
287
+@menu" >> fossil.texi
288288
289289
# Insert test commands in here
290290
echo "Grab test keywords for menu"
291291
for u in $(for t in $(fossil help -t); do echo "$t"; done | sort); do echo "* ${u}::"; done >> fossil.texi
292
-
293292
294293
# Now end that menu (Test commands)
295294
echo "@end menu
296295
297296
" >> fossil.texi
@@ -342,12 +341,11 @@
342341
343342
@example
344343
https://fossil.example.com/fossil/timeline?ms=glob
345344
@end example
346345
347
-@menu
348
-" >> fossil.texi
346
+@menu" >> fossil.texi
349347
350348
# Insert webpage keywords in here
351349
echo "Grab web keywords for menu"
352350
for u in $(for t in $(fossil help -w); do echo "$t"; done | sort); do echo "* ${u}::"; done >> fossil.texi
353351
354352
--- tools/fossil-makeinfo
+++ tools/fossil-makeinfo
@@ -33,10 +33,11 @@
33 printf "@c Initial rendition to convert fossil help -a -v into texinfo for further
34 @c massaging by makeinfo. Scripts to do this automatically may come
35 @c later. Don't expect this to conform to GNU guidelines.
36
37 " >> fossil.texi
 
38 # Add a title page
39 printf "@titlepage
40 @title Fossil
41 @subtitle The Fossil Source Code Manager (fossil-scm)
42 @subtitle A distributed version control system
@@ -161,14 +162,14 @@
161 @end example
162
163 They are similar to commands that are available in other VCS programs such as
164 subversion, git or mercurial.
165
 
166 " >> fossil.texi
167
168 # begin menu for common keywords
169 printf "@menu\n" >> fossil.texi
170
171 # Slurp in Common keywords from fossil help
172 # WARNING: tail count is brittle
173 echo "Grab common keywords for menu"
174 for u in $(for t in $(fossil help | tail -n +4| sed '$d'); do echo "$t"; done | sort); do echo "* ${u}::"; done >> fossil.texi
@@ -281,17 +282,15 @@
281 They're often used to solve specific little problems that didn't warrant a full
282 tool, but are useful enough to be kept around. They are most definitely not
283 supported, and the developers will expect to change these far more often. They
284 are not stable, so do not depend upon their behavior, or even their existence.
285
286 @menu
287 " >> fossil.texi
288
289 # Insert test commands in here
290 echo "Grab test keywords for menu"
291 for u in $(for t in $(fossil help -t); do echo "$t"; done | sort); do echo "* ${u}::"; done >> fossil.texi
292
293
294 # Now end that menu (Test commands)
295 echo "@end menu
296
297 " >> fossil.texi
@@ -342,12 +341,11 @@
342
343 @example
344 https://fossil.example.com/fossil/timeline?ms=glob
345 @end example
346
347 @menu
348 " >> fossil.texi
349
350 # Insert webpage keywords in here
351 echo "Grab web keywords for menu"
352 for u in $(for t in $(fossil help -w); do echo "$t"; done | sort); do echo "* ${u}::"; done >> fossil.texi
353
354
--- tools/fossil-makeinfo
+++ tools/fossil-makeinfo
@@ -33,10 +33,11 @@
33 printf "@c Initial rendition to convert fossil help -a -v into texinfo for further
34 @c massaging by makeinfo. Scripts to do this automatically may come
35 @c later. Don't expect this to conform to GNU guidelines.
36
37 " >> fossil.texi
38
39 # Add a title page
40 printf "@titlepage
41 @title Fossil
42 @subtitle The Fossil Source Code Manager (fossil-scm)
43 @subtitle A distributed version control system
@@ -161,14 +162,14 @@
162 @end example
163
164 They are similar to commands that are available in other VCS programs such as
165 subversion, git or mercurial.
166
167 @menu
168 " >> fossil.texi
169
170 # begin menu for common keywords
 
171
172 # Slurp in Common keywords from fossil help
173 # WARNING: tail count is brittle
174 echo "Grab common keywords for menu"
175 for u in $(for t in $(fossil help | tail -n +4| sed '$d'); do echo "$t"; done | sort); do echo "* ${u}::"; done >> fossil.texi
@@ -281,17 +282,15 @@
282 They're often used to solve specific little problems that didn't warrant a full
283 tool, but are useful enough to be kept around. They are most definitely not
284 supported, and the developers will expect to change these far more often. They
285 are not stable, so do not depend upon their behavior, or even their existence.
286
287 @menu" >> fossil.texi
 
288
289 # Insert test commands in here
290 echo "Grab test keywords for menu"
291 for u in $(for t in $(fossil help -t); do echo "$t"; done | sort); do echo "* ${u}::"; done >> fossil.texi
 
292
293 # Now end that menu (Test commands)
294 echo "@end menu
295
296 " >> fossil.texi
@@ -342,12 +341,11 @@
341
342 @example
343 https://fossil.example.com/fossil/timeline?ms=glob
344 @end example
345
346 @menu" >> fossil.texi
 
347
348 # Insert webpage keywords in here
349 echo "Grab web keywords for menu"
350 for u in $(for t in $(fossil help -w); do echo "$t"; done | sort); do echo "* ${u}::"; done >> fossil.texi
351
352

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button