Fossil SCM

Slightly simplify code. Add and modify tests. Merge changes from trunk.

mistachkin 2016-10-10 07:07 UTC th1Unversioned merge
Commit a3f04386fe9de7eac665d4f7b04a348fec9fcb3c
+1 -3
--- src/th_main.c
+++ src/th_main.c
@@ -1336,14 +1336,12 @@
13361336
){
13371337
if( argc!=3 ){
13381338
return Th_WrongNumArgs(interp, "unversioned content FILENAME");
13391339
}
13401340
if( Th_IsRepositoryOpen() ){
1341
- int rc;
13421341
Blob content;
1343
- rc = unversioned_content(argv[2], &content);
1344
- if( rc==0 ){
1342
+ if( unversioned_content(argv[2], &content)==0 ){
13451343
Th_SetResult(interp, blob_str(&content), blob_size(&content));
13461344
blob_reset(&content);
13471345
return TH_OK;
13481346
}else{
13491347
return TH_ERROR;
13501348
--- src/th_main.c
+++ src/th_main.c
@@ -1336,14 +1336,12 @@
1336 ){
1337 if( argc!=3 ){
1338 return Th_WrongNumArgs(interp, "unversioned content FILENAME");
1339 }
1340 if( Th_IsRepositoryOpen() ){
1341 int rc;
1342 Blob content;
1343 rc = unversioned_content(argv[2], &content);
1344 if( rc==0 ){
1345 Th_SetResult(interp, blob_str(&content), blob_size(&content));
1346 blob_reset(&content);
1347 return TH_OK;
1348 }else{
1349 return TH_ERROR;
1350
--- src/th_main.c
+++ src/th_main.c
@@ -1336,14 +1336,12 @@
1336 ){
1337 if( argc!=3 ){
1338 return Th_WrongNumArgs(interp, "unversioned content FILENAME");
1339 }
1340 if( Th_IsRepositoryOpen() ){
 
1341 Blob content;
1342 if( unversioned_content(argv[2], &content)==0 ){
 
1343 Th_SetResult(interp, blob_str(&content), blob_size(&content));
1344 blob_reset(&content);
1345 return TH_OK;
1346 }else{
1347 return TH_ERROR;
1348
+1 -3
--- src/th_main.c
+++ src/th_main.c
@@ -1336,14 +1336,12 @@
13361336
){
13371337
if( argc!=3 ){
13381338
return Th_WrongNumArgs(interp, "unversioned content FILENAME");
13391339
}
13401340
if( Th_IsRepositoryOpen() ){
1341
- int rc;
13421341
Blob content;
1343
- rc = unversioned_content(argv[2], &content);
1344
- if( rc==0 ){
1342
+ if( unversioned_content(argv[2], &content)==0 ){
13451343
Th_SetResult(interp, blob_str(&content), blob_size(&content));
13461344
blob_reset(&content);
13471345
return TH_OK;
13481346
}else{
13491347
return TH_ERROR;
13501348
--- src/th_main.c
+++ src/th_main.c
@@ -1336,14 +1336,12 @@
1336 ){
1337 if( argc!=3 ){
1338 return Th_WrongNumArgs(interp, "unversioned content FILENAME");
1339 }
1340 if( Th_IsRepositoryOpen() ){
1341 int rc;
1342 Blob content;
1343 rc = unversioned_content(argv[2], &content);
1344 if( rc==0 ){
1345 Th_SetResult(interp, blob_str(&content), blob_size(&content));
1346 blob_reset(&content);
1347 return TH_OK;
1348 }else{
1349 return TH_ERROR;
1350
--- src/th_main.c
+++ src/th_main.c
@@ -1336,14 +1336,12 @@
1336 ){
1337 if( argc!=3 ){
1338 return Th_WrongNumArgs(interp, "unversioned content FILENAME");
1339 }
1340 if( Th_IsRepositoryOpen() ){
 
1341 Blob content;
1342 if( unversioned_content(argv[2], &content)==0 ){
 
1343 Th_SetResult(interp, blob_str(&content), blob_size(&content));
1344 blob_reset(&content);
1345 return TH_OK;
1346 }else{
1347 return TH_ERROR;
1348
+37 -1
--- test/th1.test
+++ test/th1.test
@@ -1038,11 +1038,11 @@
10381038
error expr for getParameter glob_match globalState hascap hasfeature\
10391039
html htmlize http httpize if info insertCsrf lindex linecount list\
10401040
llength lsearch markdown proc puts query randhex redirect regexp\
10411041
reinitialize rename render repository return searchable set\
10421042
setParameter setting stime string styleFooter styleHeader tclReady\
1043
- trace unset uplevel upvar utime verifyCsrf wiki}
1043
+ trace unset unversioned uplevel upvar utime verifyCsrf wiki}
10441044
set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe}
10451045
if {$th1Tcl} {
10461046
test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]}
10471047
} else {
10481048
test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]}
@@ -1562,9 +1562,45 @@
15621562
}
15631563
15641564
fossil test-th-source $th1FileName
15651565
test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}}
15661566
file delete $th1FileName
1567
+
1568
+###############################################################################
1569
+
1570
+#
1571
+# TODO: Modify the result of this test if the list of unversioned files
1572
+# changes.
1573
+#
1574
+run_in_checkout {
1575
+ fossil test-th-eval --open-config "unversioned list"
1576
+}
1577
+
1578
+test th1-unversioned-1 {[normalize_result] eq \
1579
+{build-icons/linux.gif build-icons/linux64.gif build-icons/mac.gif\
1580
+build-icons/openbsd.gif build-icons/src.gif build-icons/win32.gif\
1581
+download.html download/fossil-linux-x86-1.32.zip\
1582
+download/fossil-linux-x86-1.33.zip download/fossil-linux-x86-1.34.zip\
1583
+download/fossil-linux-x86-1.35.zip download/fossil-macosx-x86-1.32.zip\
1584
+download/fossil-macosx-x86-1.33.zip download/fossil-macosx-x86-1.34.zip\
1585
+download/fossil-macosx-x86-1.35.zip download/fossil-openbsd-x86-1.32.zip\
1586
+download/fossil-openbsd-x86-1.33.zip download/fossil-openbsd-x86-1.34.tar.gz\
1587
+download/fossil-openbsd-x86-1.35.tar.gz download/fossil-src-1.32.tar.gz\
1588
+download/fossil-src-1.33.tar.gz download/fossil-src-1.34.tar.gz\
1589
+download/fossil-src-1.35.tar.gz download/fossil-w32-1.32.zip\
1590
+download/fossil-w32-1.33.zip download/fossil-w32-1.34.zip\
1591
+download/fossil-w32-1.35.zip download/releasenotes-1.32.html\
1592
+download/releasenotes-1.33.html download/releasenotes-1.34.html\
1593
+download/releasenotes-1.35.html index.wiki}}
1594
+
1595
+###############################################################################
1596
+
1597
+run_in_checkout {
1598
+ fossil test-th-eval --open-config \
1599
+ {string length [unversioned content build-icons/src.gif]}
1600
+}
1601
+
1602
+test th1-unversioned-2 {$RESULT eq {4592}}
15671603
15681604
###############################################################################
15691605
15701606
test_cleanup
15711607
--- test/th1.test
+++ test/th1.test
@@ -1038,11 +1038,11 @@
1038 error expr for getParameter glob_match globalState hascap hasfeature\
1039 html htmlize http httpize if info insertCsrf lindex linecount list\
1040 llength lsearch markdown proc puts query randhex redirect regexp\
1041 reinitialize rename render repository return searchable set\
1042 setParameter setting stime string styleFooter styleHeader tclReady\
1043 trace unset uplevel upvar utime verifyCsrf wiki}
1044 set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe}
1045 if {$th1Tcl} {
1046 test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]}
1047 } else {
1048 test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]}
@@ -1562,9 +1562,45 @@
1562 }
1563
1564 fossil test-th-source $th1FileName
1565 test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}}
1566 file delete $th1FileName
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1567
1568 ###############################################################################
1569
1570 test_cleanup
1571
--- test/th1.test
+++ test/th1.test
@@ -1038,11 +1038,11 @@
1038 error expr for getParameter glob_match globalState hascap hasfeature\
1039 html htmlize http httpize if info insertCsrf lindex linecount list\
1040 llength lsearch markdown proc puts query randhex redirect regexp\
1041 reinitialize rename render repository return searchable set\
1042 setParameter setting stime string styleFooter styleHeader tclReady\
1043 trace unset unversioned uplevel upvar utime verifyCsrf wiki}
1044 set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe}
1045 if {$th1Tcl} {
1046 test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]}
1047 } else {
1048 test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]}
@@ -1562,9 +1562,45 @@
1562 }
1563
1564 fossil test-th-source $th1FileName
1565 test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}}
1566 file delete $th1FileName
1567
1568 ###############################################################################
1569
1570 #
1571 # TODO: Modify the result of this test if the list of unversioned files
1572 # changes.
1573 #
1574 run_in_checkout {
1575 fossil test-th-eval --open-config "unversioned list"
1576 }
1577
1578 test th1-unversioned-1 {[normalize_result] eq \
1579 {build-icons/linux.gif build-icons/linux64.gif build-icons/mac.gif\
1580 build-icons/openbsd.gif build-icons/src.gif build-icons/win32.gif\
1581 download.html download/fossil-linux-x86-1.32.zip\
1582 download/fossil-linux-x86-1.33.zip download/fossil-linux-x86-1.34.zip\
1583 download/fossil-linux-x86-1.35.zip download/fossil-macosx-x86-1.32.zip\
1584 download/fossil-macosx-x86-1.33.zip download/fossil-macosx-x86-1.34.zip\
1585 download/fossil-macosx-x86-1.35.zip download/fossil-openbsd-x86-1.32.zip\
1586 download/fossil-openbsd-x86-1.33.zip download/fossil-openbsd-x86-1.34.tar.gz\
1587 download/fossil-openbsd-x86-1.35.tar.gz download/fossil-src-1.32.tar.gz\
1588 download/fossil-src-1.33.tar.gz download/fossil-src-1.34.tar.gz\
1589 download/fossil-src-1.35.tar.gz download/fossil-w32-1.32.zip\
1590 download/fossil-w32-1.33.zip download/fossil-w32-1.34.zip\
1591 download/fossil-w32-1.35.zip download/releasenotes-1.32.html\
1592 download/releasenotes-1.33.html download/releasenotes-1.34.html\
1593 download/releasenotes-1.35.html index.wiki}}
1594
1595 ###############################################################################
1596
1597 run_in_checkout {
1598 fossil test-th-eval --open-config \
1599 {string length [unversioned content build-icons/src.gif]}
1600 }
1601
1602 test th1-unversioned-2 {$RESULT eq {4592}}
1603
1604 ###############################################################################
1605
1606 test_cleanup
1607
+37 -1
--- test/th1.test
+++ test/th1.test
@@ -1038,11 +1038,11 @@
10381038
error expr for getParameter glob_match globalState hascap hasfeature\
10391039
html htmlize http httpize if info insertCsrf lindex linecount list\
10401040
llength lsearch markdown proc puts query randhex redirect regexp\
10411041
reinitialize rename render repository return searchable set\
10421042
setParameter setting stime string styleFooter styleHeader tclReady\
1043
- trace unset uplevel upvar utime verifyCsrf wiki}
1043
+ trace unset unversioned uplevel upvar utime verifyCsrf wiki}
10441044
set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe}
10451045
if {$th1Tcl} {
10461046
test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]}
10471047
} else {
10481048
test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]}
@@ -1562,9 +1562,45 @@
15621562
}
15631563
15641564
fossil test-th-source $th1FileName
15651565
test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}}
15661566
file delete $th1FileName
1567
+
1568
+###############################################################################
1569
+
1570
+#
1571
+# TODO: Modify the result of this test if the list of unversioned files
1572
+# changes.
1573
+#
1574
+run_in_checkout {
1575
+ fossil test-th-eval --open-config "unversioned list"
1576
+}
1577
+
1578
+test th1-unversioned-1 {[normalize_result] eq \
1579
+{build-icons/linux.gif build-icons/linux64.gif build-icons/mac.gif\
1580
+build-icons/openbsd.gif build-icons/src.gif build-icons/win32.gif\
1581
+download.html download/fossil-linux-x86-1.32.zip\
1582
+download/fossil-linux-x86-1.33.zip download/fossil-linux-x86-1.34.zip\
1583
+download/fossil-linux-x86-1.35.zip download/fossil-macosx-x86-1.32.zip\
1584
+download/fossil-macosx-x86-1.33.zip download/fossil-macosx-x86-1.34.zip\
1585
+download/fossil-macosx-x86-1.35.zip download/fossil-openbsd-x86-1.32.zip\
1586
+download/fossil-openbsd-x86-1.33.zip download/fossil-openbsd-x86-1.34.tar.gz\
1587
+download/fossil-openbsd-x86-1.35.tar.gz download/fossil-src-1.32.tar.gz\
1588
+download/fossil-src-1.33.tar.gz download/fossil-src-1.34.tar.gz\
1589
+download/fossil-src-1.35.tar.gz download/fossil-w32-1.32.zip\
1590
+download/fossil-w32-1.33.zip download/fossil-w32-1.34.zip\
1591
+download/fossil-w32-1.35.zip download/releasenotes-1.32.html\
1592
+download/releasenotes-1.33.html download/releasenotes-1.34.html\
1593
+download/releasenotes-1.35.html index.wiki}}
1594
+
1595
+###############################################################################
1596
+
1597
+run_in_checkout {
1598
+ fossil test-th-eval --open-config \
1599
+ {string length [unversioned content build-icons/src.gif]}
1600
+}
1601
+
1602
+test th1-unversioned-2 {$RESULT eq {4592}}
15671603
15681604
###############################################################################
15691605
15701606
test_cleanup
15711607
--- test/th1.test
+++ test/th1.test
@@ -1038,11 +1038,11 @@
1038 error expr for getParameter glob_match globalState hascap hasfeature\
1039 html htmlize http httpize if info insertCsrf lindex linecount list\
1040 llength lsearch markdown proc puts query randhex redirect regexp\
1041 reinitialize rename render repository return searchable set\
1042 setParameter setting stime string styleFooter styleHeader tclReady\
1043 trace unset uplevel upvar utime verifyCsrf wiki}
1044 set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe}
1045 if {$th1Tcl} {
1046 test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]}
1047 } else {
1048 test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]}
@@ -1562,9 +1562,45 @@
1562 }
1563
1564 fossil test-th-source $th1FileName
1565 test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}}
1566 file delete $th1FileName
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1567
1568 ###############################################################################
1569
1570 test_cleanup
1571
--- test/th1.test
+++ test/th1.test
@@ -1038,11 +1038,11 @@
1038 error expr for getParameter glob_match globalState hascap hasfeature\
1039 html htmlize http httpize if info insertCsrf lindex linecount list\
1040 llength lsearch markdown proc puts query randhex redirect regexp\
1041 reinitialize rename render repository return searchable set\
1042 setParameter setting stime string styleFooter styleHeader tclReady\
1043 trace unset unversioned uplevel upvar utime verifyCsrf wiki}
1044 set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe}
1045 if {$th1Tcl} {
1046 test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]}
1047 } else {
1048 test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]}
@@ -1562,9 +1562,45 @@
1562 }
1563
1564 fossil test-th-source $th1FileName
1565 test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}}
1566 file delete $th1FileName
1567
1568 ###############################################################################
1569
1570 #
1571 # TODO: Modify the result of this test if the list of unversioned files
1572 # changes.
1573 #
1574 run_in_checkout {
1575 fossil test-th-eval --open-config "unversioned list"
1576 }
1577
1578 test th1-unversioned-1 {[normalize_result] eq \
1579 {build-icons/linux.gif build-icons/linux64.gif build-icons/mac.gif\
1580 build-icons/openbsd.gif build-icons/src.gif build-icons/win32.gif\
1581 download.html download/fossil-linux-x86-1.32.zip\
1582 download/fossil-linux-x86-1.33.zip download/fossil-linux-x86-1.34.zip\
1583 download/fossil-linux-x86-1.35.zip download/fossil-macosx-x86-1.32.zip\
1584 download/fossil-macosx-x86-1.33.zip download/fossil-macosx-x86-1.34.zip\
1585 download/fossil-macosx-x86-1.35.zip download/fossil-openbsd-x86-1.32.zip\
1586 download/fossil-openbsd-x86-1.33.zip download/fossil-openbsd-x86-1.34.tar.gz\
1587 download/fossil-openbsd-x86-1.35.tar.gz download/fossil-src-1.32.tar.gz\
1588 download/fossil-src-1.33.tar.gz download/fossil-src-1.34.tar.gz\
1589 download/fossil-src-1.35.tar.gz download/fossil-w32-1.32.zip\
1590 download/fossil-w32-1.33.zip download/fossil-w32-1.34.zip\
1591 download/fossil-w32-1.35.zip download/releasenotes-1.32.html\
1592 download/releasenotes-1.33.html download/releasenotes-1.34.html\
1593 download/releasenotes-1.35.html index.wiki}}
1594
1595 ###############################################################################
1596
1597 run_in_checkout {
1598 fossil test-th-eval --open-config \
1599 {string length [unversioned content build-icons/src.gif]}
1600 }
1601
1602 test th1-unversioned-2 {$RESULT eq {4592}}
1603
1604 ###############################################################################
1605
1606 test_cleanup
1607
+9 -8
--- www/th1.md
+++ www/th1.md
@@ -164,10 +164,11 @@
164164
* render
165165
* repository
166166
* searchable
167167
* setParameter
168168
* setting
169
+ * stime
169170
* styleHeader
170171
* styleFooter
171172
* tclEval
172173
* tclExpr
173174
* tclInvoke
@@ -175,11 +176,10 @@
175176
* tclMakeSafe
176177
* tclReady
177178
* trace
178179
* unversioned content
179180
* unversioned list
180
- * stime
181181
* utime
182182
* verifyCsrf
183183
* wiki
184184
185185
Each of the commands above is documented by a block comment above their
@@ -519,10 +519,18 @@
519519
-----------------------------------------
520520
521521
* setting name
522522
523523
Gets and returns the value of the specified setting.
524
+
525
+<a name="stime"></a>TH1 stime Command
526
+-------------------------------------
527
+
528
+ * stime
529
+
530
+Returns the number of microseconds of CPU time consumed by the current
531
+process in system space.
524532
525533
<a name="styleHeader"></a>TH1 styleHeader Command
526534
-------------------------------------------------
527535
528536
* styleHeader TITLE
@@ -622,18 +630,10 @@
622630
* unversioned list
623631
624632
Returns a list of the names of all unversioned files held in the local
625633
repository.
626634
627
-<a name="stime"></a>TH1 stime Command
--------------------------------------
628
-
629
- * stime
630
-
631
-Returns the number of microseconds of CPU time consumed by the current
632
-process in system space.
633
-
634635
<a name="utime"></a>TH1 utime Command
635636
-------------------------------------
636637
637638
* utime
638639
639640
--- www/th1.md
+++ www/th1.md
@@ -164,10 +164,11 @@
164 * render
165 * repository
166 * searchable
167 * setParameter
168 * setting
 
169 * styleHeader
170 * styleFooter
171 * tclEval
172 * tclExpr
173 * tclInvoke
@@ -175,11 +176,10 @@
175 * tclMakeSafe
176 * tclReady
177 * trace
178 * unversioned content
179 * unversioned list
180 * stime
181 * utime
182 * verifyCsrf
183 * wiki
184
185 Each of the commands above is documented by a block comment above their
@@ -519,10 +519,18 @@
519 -----------------------------------------
520
521 * setting name
522
523 Gets and returns the value of the specified setting.
 
 
 
 
 
 
 
 
524
525 <a name="styleHeader"></a>TH1 styleHeader Command
526 -------------------------------------------------
527
528 * styleHeader TITLE
@@ -622,18 +630,10 @@
622 * unversioned list
623
624 Returns a list of the names of all unversioned files held in the local
625 repository.
626
627 <a name="stime"></a>TH1 stime Command
--------------------------------------
628
629 * stime
630
631 Returns the number of microseconds of CPU time consumed by the current
632 process in system space.
633
634 <a name="utime"></a>TH1 utime Command
635 -------------------------------------
636
637 * utime
638
639
--- www/th1.md
+++ www/th1.md
@@ -164,10 +164,11 @@
164 * render
165 * repository
166 * searchable
167 * setParameter
168 * setting
169 * stime
170 * styleHeader
171 * styleFooter
172 * tclEval
173 * tclExpr
174 * tclInvoke
@@ -175,11 +176,10 @@
176 * tclMakeSafe
177 * tclReady
178 * trace
179 * unversioned content
180 * unversioned list
 
181 * utime
182 * verifyCsrf
183 * wiki
184
185 Each of the commands above is documented by a block comment above their
@@ -519,10 +519,18 @@
519 -----------------------------------------
520
521 * setting name
522
523 Gets and returns the value of the specified setting.
524
525 <a name="stime"></a>TH1 stime Command
526 -------------------------------------
527
528 * stime
529
530 Returns the number of microseconds of CPU time consumed by the current
531 process in system space.
532
533 <a name="styleHeader"></a>TH1 styleHeader Command
534 -------------------------------------------------
535
536 * styleHeader TITLE
@@ -622,18 +630,10 @@
630 * unversioned list
631
632 Returns a list of the names of all unversioned files held in the local
633 repository.
634
 
--------------------------------------
 
 
 
 
 
 
635 <a name="utime"></a>TH1 utime Command
636 -------------------------------------
637
638 * utime
639
640
+9 -8
--- www/th1.md
+++ www/th1.md
@@ -164,10 +164,11 @@
164164
* render
165165
* repository
166166
* searchable
167167
* setParameter
168168
* setting
169
+ * stime
169170
* styleHeader
170171
* styleFooter
171172
* tclEval
172173
* tclExpr
173174
* tclInvoke
@@ -175,11 +176,10 @@
175176
* tclMakeSafe
176177
* tclReady
177178
* trace
178179
* unversioned content
179180
* unversioned list
180
- * stime
181181
* utime
182182
* verifyCsrf
183183
* wiki
184184
185185
Each of the commands above is documented by a block comment above their
@@ -519,10 +519,18 @@
519519
-----------------------------------------
520520
521521
* setting name
522522
523523
Gets and returns the value of the specified setting.
524
+
525
+<a name="stime"></a>TH1 stime Command
526
+-------------------------------------
527
+
528
+ * stime
529
+
530
+Returns the number of microseconds of CPU time consumed by the current
531
+process in system space.
524532
525533
<a name="styleHeader"></a>TH1 styleHeader Command
526534
-------------------------------------------------
527535
528536
* styleHeader TITLE
@@ -622,18 +630,10 @@
622630
* unversioned list
623631
624632
Returns a list of the names of all unversioned files held in the local
625633
repository.
626634
627
-<a name="stime"></a>TH1 stime Command
--------------------------------------
628
-
629
- * stime
630
-
631
-Returns the number of microseconds of CPU time consumed by the current
632
-process in system space.
633
-
634635
<a name="utime"></a>TH1 utime Command
635636
-------------------------------------
636637
637638
* utime
638639
639640
--- www/th1.md
+++ www/th1.md
@@ -164,10 +164,11 @@
164 * render
165 * repository
166 * searchable
167 * setParameter
168 * setting
 
169 * styleHeader
170 * styleFooter
171 * tclEval
172 * tclExpr
173 * tclInvoke
@@ -175,11 +176,10 @@
175 * tclMakeSafe
176 * tclReady
177 * trace
178 * unversioned content
179 * unversioned list
180 * stime
181 * utime
182 * verifyCsrf
183 * wiki
184
185 Each of the commands above is documented by a block comment above their
@@ -519,10 +519,18 @@
519 -----------------------------------------
520
521 * setting name
522
523 Gets and returns the value of the specified setting.
 
 
 
 
 
 
 
 
524
525 <a name="styleHeader"></a>TH1 styleHeader Command
526 -------------------------------------------------
527
528 * styleHeader TITLE
@@ -622,18 +630,10 @@
622 * unversioned list
623
624 Returns a list of the names of all unversioned files held in the local
625 repository.
626
627 <a name="stime"></a>TH1 stime Command
--------------------------------------
628
629 * stime
630
631 Returns the number of microseconds of CPU time consumed by the current
632 process in system space.
633
634 <a name="utime"></a>TH1 utime Command
635 -------------------------------------
636
637 * utime
638
639
--- www/th1.md
+++ www/th1.md
@@ -164,10 +164,11 @@
164 * render
165 * repository
166 * searchable
167 * setParameter
168 * setting
169 * stime
170 * styleHeader
171 * styleFooter
172 * tclEval
173 * tclExpr
174 * tclInvoke
@@ -175,11 +176,10 @@
176 * tclMakeSafe
177 * tclReady
178 * trace
179 * unversioned content
180 * unversioned list
 
181 * utime
182 * verifyCsrf
183 * wiki
184
185 Each of the commands above is documented by a block comment above their
@@ -519,10 +519,18 @@
519 -----------------------------------------
520
521 * setting name
522
523 Gets and returns the value of the specified setting.
524
525 <a name="stime"></a>TH1 stime Command
526 -------------------------------------
527
528 * stime
529
530 Returns the number of microseconds of CPU time consumed by the current
531 process in system space.
532
533 <a name="styleHeader"></a>TH1 styleHeader Command
534 -------------------------------------------------
535
536 * styleHeader TITLE
@@ -622,18 +630,10 @@
630 * unversioned list
631
632 Returns a list of the names of all unversioned files held in the local
633 repository.
634
 
--------------------------------------
 
 
 
 
 
 
635 <a name="utime"></a>TH1 utime Command
636 -------------------------------------
637
638 * utime
639
640

Keyboard Shortcuts

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