Fossil SCM

Merge updates from trunk.

mistachkin 2015-08-15 18:48 ckol-th1-dir-cmd merge
Commit e4db8fe84f5d547c94079a32c36ac4650cfe4210
--- test/merge5.test
+++ test/merge5.test
@@ -37,11 +37,10 @@
3737
test merge5-$testid 1
3838
}
3939
}
4040
4141
catch {exec $::fossilexe info} res
42
-puts res=$res
4342
if {![regexp {use --repository} $res]} {
4443
puts stderr "Cannot run this test within an open checkout"
4544
return
4645
}
4746
#
4847
--- test/merge5.test
+++ test/merge5.test
@@ -37,11 +37,10 @@
37 test merge5-$testid 1
38 }
39 }
40
41 catch {exec $::fossilexe info} res
42 puts res=$res
43 if {![regexp {use --repository} $res]} {
44 puts stderr "Cannot run this test within an open checkout"
45 return
46 }
47 #
48
--- test/merge5.test
+++ test/merge5.test
@@ -37,11 +37,10 @@
37 test merge5-$testid 1
38 }
39 }
40
41 catch {exec $::fossilexe info} res
 
42 if {![regexp {use --repository} $res]} {
43 puts stderr "Cannot run this test within an open checkout"
44 return
45 }
46 #
47
--- test/merge_renames.test
+++ test/merge_renames.test
@@ -2,11 +2,10 @@
22
# Tests for merging with renames
33
#
44
#
55
66
catch {exec $::fossilexe info} res
7
-puts res=$res
87
if {![regexp {use --repository} $res]} {
98
puts stderr "Cannot run this test within an open checkout"
109
return
1110
}
1211
1312
--- test/merge_renames.test
+++ test/merge_renames.test
@@ -2,11 +2,10 @@
2 # Tests for merging with renames
3 #
4 #
5
6 catch {exec $::fossilexe info} res
7 puts res=$res
8 if {![regexp {use --repository} $res]} {
9 puts stderr "Cannot run this test within an open checkout"
10 return
11 }
12
13
--- test/merge_renames.test
+++ test/merge_renames.test
@@ -2,11 +2,10 @@
2 # Tests for merging with renames
3 #
4 #
5
6 catch {exec $::fossilexe info} res
 
7 if {![regexp {use --repository} $res]} {
8 puts stderr "Cannot run this test within an open checkout"
9 return
10 }
11
12
--- test/mv-rm.test
+++ test/mv-rm.test
@@ -17,11 +17,10 @@
1717
#
1818
# MV / RM Commands
1919
#
2020
2121
catch {exec $::fossilexe info} res
22
-puts res=$res
2322
if {![regexp {use --repository} $res]} {
2423
puts stderr "Cannot run this test within an open checkout"
2524
return
2625
}
2726
2827
--- test/mv-rm.test
+++ test/mv-rm.test
@@ -17,11 +17,10 @@
17 #
18 # MV / RM Commands
19 #
20
21 catch {exec $::fossilexe info} res
22 puts res=$res
23 if {![regexp {use --repository} $res]} {
24 puts stderr "Cannot run this test within an open checkout"
25 return
26 }
27
28
--- test/mv-rm.test
+++ test/mv-rm.test
@@ -17,11 +17,10 @@
17 #
18 # MV / RM Commands
19 #
20
21 catch {exec $::fossilexe info} res
 
22 if {![regexp {use --repository} $res]} {
23 puts stderr "Cannot run this test within an open checkout"
24 return
25 }
26
27
--- test/revert.test
+++ test/revert.test
@@ -38,11 +38,10 @@
3838
3939
fossil undo
4040
}
4141
4242
catch {exec $::fossilexe info} res
43
-puts res=$res
4443
if {![regexp {use --repository} $res]} {
4544
puts stderr "Cannot run this test within an open checkout"
4645
return
4746
}
4847
4948
--- test/revert.test
+++ test/revert.test
@@ -38,11 +38,10 @@
38
39 fossil undo
40 }
41
42 catch {exec $::fossilexe info} res
43 puts res=$res
44 if {![regexp {use --repository} $res]} {
45 puts stderr "Cannot run this test within an open checkout"
46 return
47 }
48
49
--- test/revert.test
+++ test/revert.test
@@ -38,11 +38,10 @@
38
39 fossil undo
40 }
41
42 catch {exec $::fossilexe info} res
 
43 if {![regexp {use --repository} $res]} {
44 puts stderr "Cannot run this test within an open checkout"
45 return
46 }
47
48
--- www/checkin_names.wiki
+++ www/checkin_names.wiki
@@ -15,10 +15,11 @@
1515
<ul>
1616
<li> <b>tip</b>
1717
<li> <b>current</b>
1818
<li> <b>next</b>
1919
<li> <b>previous</b> or <b>prev</b>
20
+<li> <b>ckout</b> for embedded docs
2021
</ul>
2122
</ul>
2223
</td></tr>
2324
</table>
2425
Many Fossil [/help|commands] and [./webui.wiki | web-interface] URLs accept
@@ -216,10 +217,16 @@
216217
If the command is being run from a working check-out (not against a bare
217218
repository) then a few extra tags apply. The "current" tag means the
218219
current check-out. The "next" tag means the youngest child of the
219220
current check-out. And the "previous" or "prev" tag means the primary
220221
(non-merge) parent of the current check-out.
222
+
223
+For embedded documentation, the tag "ckout" means the version as present in
224
+the local source tree on disk, provided that the web server is started using
225
+"fossil ui" or "fossil server" from within the source tree. This tag can be
226
+used to preview local changes to documentation before committing them. It does
227
+not apply to CLI commands.
221228
222229
<h2>Additional Examples</h2>
223230
224231
To view the changes in the most recent check-in prior to the version currently
225232
checked out:
226233
--- www/checkin_names.wiki
+++ www/checkin_names.wiki
@@ -15,10 +15,11 @@
15 <ul>
16 <li> <b>tip</b>
17 <li> <b>current</b>
18 <li> <b>next</b>
19 <li> <b>previous</b> or <b>prev</b>
 
20 </ul>
21 </ul>
22 </td></tr>
23 </table>
24 Many Fossil [/help|commands] and [./webui.wiki | web-interface] URLs accept
@@ -216,10 +217,16 @@
216 If the command is being run from a working check-out (not against a bare
217 repository) then a few extra tags apply. The "current" tag means the
218 current check-out. The "next" tag means the youngest child of the
219 current check-out. And the "previous" or "prev" tag means the primary
220 (non-merge) parent of the current check-out.
 
 
 
 
 
 
221
222 <h2>Additional Examples</h2>
223
224 To view the changes in the most recent check-in prior to the version currently
225 checked out:
226
--- www/checkin_names.wiki
+++ www/checkin_names.wiki
@@ -15,10 +15,11 @@
15 <ul>
16 <li> <b>tip</b>
17 <li> <b>current</b>
18 <li> <b>next</b>
19 <li> <b>previous</b> or <b>prev</b>
20 <li> <b>ckout</b> for embedded docs
21 </ul>
22 </ul>
23 </td></tr>
24 </table>
25 Many Fossil [/help|commands] and [./webui.wiki | web-interface] URLs accept
@@ -216,10 +217,16 @@
217 If the command is being run from a working check-out (not against a bare
218 repository) then a few extra tags apply. The "current" tag means the
219 current check-out. The "next" tag means the youngest child of the
220 current check-out. And the "previous" or "prev" tag means the primary
221 (non-merge) parent of the current check-out.
222
223 For embedded documentation, the tag "ckout" means the version as present in
224 the local source tree on disk, provided that the web server is started using
225 "fossil ui" or "fossil server" from within the source tree. This tag can be
226 used to preview local changes to documentation before committing them. It does
227 not apply to CLI commands.
228
229 <h2>Additional Examples</h2>
230
231 To view the changes in the most recent check-in prior to the version currently
232 checked out:
233

Keyboard Shortcuts

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