Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | give up on hard-coding a list of valid commands (to decrease latency minimally) and use a dynamic list instead. |
---|---|
Timelines: | family | ancestors | descendants | both | dresden |
Files: | files | file ages | folders |
SHA1: |
a721f86fe9685136bb00456317cac5fd |
User & Date: | j 2019-10-16 13:26:33 |
Context
2019-11-13
| ||
13:17 | more flexible pattern for localizing the sha1/3 hashes (allowing for adjusting the no. of displayed hash digits via `fossil set hash-digits'). empirically, `fossil' displays at least 6 digits irrespective of a possibly smaller hash-digits setting. hence the {6,} or {2,} repetitions in the assorted patterns. check-in: dee40a390a user: j tags: dresden | |
2019-10-16
| ||
13:26 | give up on hard-coding a list of valid commands (to decrease latency minimally) and use a dynamic list instead. check-in: a721f86fe9 user: j tags: dresden | |
2019-07-21
| ||
16:05 | regression fix in `clone' interceptor. check-in: 24053a7df2 user: j tags: dresden | |
Changes
Changes to fsl.
︙ | ︙ | |||
1235 1236 1237 1238 1239 1240 1241 | # `fossil' command, simply print its body, otherwise only print any leading # comment block found in the interceptor's definition and append the # help output for the corresponding `fossil' command. # ------------------------------------------------------------------------ set expansion [expand [lrange $params 1 end] 1] set command [first $expansion] | < < < < < | < < < < < < < < < < < < < < < < < < < < < < < < < | 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 | # `fossil' command, simply print its body, otherwise only print any leading # comment block found in the interceptor's definition and append the # help output for the corresponding `fossil' command. # ------------------------------------------------------------------------ set expansion [expand [lrange $params 1 end] 1] set command [first $expansion] catch {exec fossil help --all} foscom # regularize foscom: bracket all commands with _single_ blanks # (including first and last one ...) in order to facilitate further # processing: regsub -all {^|\n|$} $foscom { } foscom regsub -all {[ ]+} $foscom { } foscom |
︙ | ︙ |