Fossil SCM

In the check-in names documentation, mention that some prefixes can be chained.

danield 2022-04-21 12:06 trunk
Commit ef9e42acb84f6e20a325b7121be077cee62721f5a19871feb6ea9648745e7608
1 file changed +18 -9
--- www/checkin_names.wiki
+++ www/checkin_names.wiki
@@ -98,13 +98,13 @@
9898
is not anything special: it is simply a sequence of check-ins that
9999
share a common tag, so the same mechanism that resolves tag names
100100
also resolves branch names.
101101
102102
<a id="tagpfx"></a>
103
-Note also that there can — in theory, if rarely in practice — be an ambiguity between tag names
104
-and canonical names. Suppose, for example, you had a check-in with
105
-the canonical name deed28aa99… and you
103
+Note also that there can — in theory, if rarely in practice — be an ambiguity
104
+between tag names and canonical names. Suppose, for example, you had a
105
+check-in with the canonical name deed28aa99… and you
106106
also happened to have tagged a different check-in with "deed2". If
107107
you use the "deed2" name, does it choose the canonical name or the tag
108108
name? In such cases, you can prefix the tag name with "tag:".
109109
For example:
110110
@@ -183,12 +183,12 @@
183183
184184
<blockquote>
185185
http://fossil-scm.org/home/doc/<b>trunk</b>/www/index.wiki
186186
</blockquote>
187187
188
-The bold component of that URL is a check-in name. To see the stored
189
-content of the Fossil website repository as of January 1, 2009, one has merely to change
188
+The bold component of that URL is a check-in name. To see the stored content
189
+of the Fossil website repository as of January 1, 2009, one has merely to change
190190
the URL to the following:
191191
192192
<blockquote>
193193
http://fossil-scm.org/home/doc/<b>2009-01-01</b>/www/index.wiki
194194
</blockquote>
@@ -202,13 +202,13 @@
202202
A check-in name can also take the form of a tag or branch name followed by
203203
a colon and then a timestamp. The combination means to take the most
204204
recent check-in with the given tag or branch which is not more recent than
205205
the timestamp. So, for example:
206206
207
-<blockquote>
207
+<blockquote><tt>
208208
fossil update trunk:2010-07-01T14:30
209
-</blockquote>
209
+</tt></blockquote>
210210
211211
Would cause Fossil to update the working check-out to be the most recent
212212
check-in on the trunk that is not more recent than 14:30 (UTC) on
213213
July 1, 2010.
214214
@@ -218,13 +218,13 @@
218218
last check-in on the parent branch prior to the beginning of the branch.
219219
Such a label is useful, for example, in computing all diffs for a single
220220
branch. The following example will show all changes in the hypothetical
221221
branch "xyzzy":
222222
223
-<blockquote>
223
+<blockquote><tt>
224224
fossil diff --from root:xyzzy --to xyzzy
225
-</blockquote>
225
+</tt></blockquote>
226226
227227
<a id="merge-in"></a>
228228
That doesn't do what you might expect after you merge the parent
229229
branch's changes into the child branch: the above command will include
230230
changes made on the parent branch as well.
@@ -234,10 +234,19 @@
234234
the most recent merge-in point for that branch.
235235
The resulting diff will then show only the changes in
236236
the branch itself, omitting
237237
any changes that have already been merged in from the parent branch.
238238
239
+The prefixes "<tt>root:</tt>" and "<tt>merge-in:</tt>" can be chained: one
240
+can say for example
241
+
242
+<blockquote><tt>
243
+fossil info merge-in:xyzzy:2022-03-01
244
+</tt></blockquote>
245
+
246
+to get informations about the most recent merge-in point on the branch
247
+"xyzzy" that happened on or before March 1, 2022.
239248
240249
<h2 id="special">Special Tags</h2>
241250
242251
The tag "tip" means the most recent check-in. The "tip" tag is practically
243252
equivalent to the timestamp "9999-12-31".
244253
--- www/checkin_names.wiki
+++ www/checkin_names.wiki
@@ -98,13 +98,13 @@
98 is not anything special: it is simply a sequence of check-ins that
99 share a common tag, so the same mechanism that resolves tag names
100 also resolves branch names.
101
102 <a id="tagpfx"></a>
103 Note also that there can — in theory, if rarely in practice — be an ambiguity between tag names
104 and canonical names. Suppose, for example, you had a check-in with
105 the canonical name deed28aa99… and you
106 also happened to have tagged a different check-in with "deed2". If
107 you use the "deed2" name, does it choose the canonical name or the tag
108 name? In such cases, you can prefix the tag name with "tag:".
109 For example:
110
@@ -183,12 +183,12 @@
183
184 <blockquote>
185 http://fossil-scm.org/home/doc/<b>trunk</b>/www/index.wiki
186 </blockquote>
187
188 The bold component of that URL is a check-in name. To see the stored
189 content of the Fossil website repository as of January 1, 2009, one has merely to change
190 the URL to the following:
191
192 <blockquote>
193 http://fossil-scm.org/home/doc/<b>2009-01-01</b>/www/index.wiki
194 </blockquote>
@@ -202,13 +202,13 @@
202 A check-in name can also take the form of a tag or branch name followed by
203 a colon and then a timestamp. The combination means to take the most
204 recent check-in with the given tag or branch which is not more recent than
205 the timestamp. So, for example:
206
207 <blockquote>
208 fossil update trunk:2010-07-01T14:30
209 </blockquote>
210
211 Would cause Fossil to update the working check-out to be the most recent
212 check-in on the trunk that is not more recent than 14:30 (UTC) on
213 July 1, 2010.
214
@@ -218,13 +218,13 @@
218 last check-in on the parent branch prior to the beginning of the branch.
219 Such a label is useful, for example, in computing all diffs for a single
220 branch. The following example will show all changes in the hypothetical
221 branch "xyzzy":
222
223 <blockquote>
224 fossil diff --from root:xyzzy --to xyzzy
225 </blockquote>
226
227 <a id="merge-in"></a>
228 That doesn't do what you might expect after you merge the parent
229 branch's changes into the child branch: the above command will include
230 changes made on the parent branch as well.
@@ -234,10 +234,19 @@
234 the most recent merge-in point for that branch.
235 The resulting diff will then show only the changes in
236 the branch itself, omitting
237 any changes that have already been merged in from the parent branch.
238
 
 
 
 
 
 
 
 
 
239
240 <h2 id="special">Special Tags</h2>
241
242 The tag "tip" means the most recent check-in. The "tip" tag is practically
243 equivalent to the timestamp "9999-12-31".
244
--- www/checkin_names.wiki
+++ www/checkin_names.wiki
@@ -98,13 +98,13 @@
98 is not anything special: it is simply a sequence of check-ins that
99 share a common tag, so the same mechanism that resolves tag names
100 also resolves branch names.
101
102 <a id="tagpfx"></a>
103 Note also that there can — in theory, if rarely in practice — be an ambiguity
104 between tag names and canonical names. Suppose, for example, you had a
105 check-in with the canonical name deed28aa99… and you
106 also happened to have tagged a different check-in with "deed2". If
107 you use the "deed2" name, does it choose the canonical name or the tag
108 name? In such cases, you can prefix the tag name with "tag:".
109 For example:
110
@@ -183,12 +183,12 @@
183
184 <blockquote>
185 http://fossil-scm.org/home/doc/<b>trunk</b>/www/index.wiki
186 </blockquote>
187
188 The bold component of that URL is a check-in name. To see the stored content
189 of the Fossil website repository as of January 1, 2009, one has merely to change
190 the URL to the following:
191
192 <blockquote>
193 http://fossil-scm.org/home/doc/<b>2009-01-01</b>/www/index.wiki
194 </blockquote>
@@ -202,13 +202,13 @@
202 A check-in name can also take the form of a tag or branch name followed by
203 a colon and then a timestamp. The combination means to take the most
204 recent check-in with the given tag or branch which is not more recent than
205 the timestamp. So, for example:
206
207 <blockquote><tt>
208 fossil update trunk:2010-07-01T14:30
209 </tt></blockquote>
210
211 Would cause Fossil to update the working check-out to be the most recent
212 check-in on the trunk that is not more recent than 14:30 (UTC) on
213 July 1, 2010.
214
@@ -218,13 +218,13 @@
218 last check-in on the parent branch prior to the beginning of the branch.
219 Such a label is useful, for example, in computing all diffs for a single
220 branch. The following example will show all changes in the hypothetical
221 branch "xyzzy":
222
223 <blockquote><tt>
224 fossil diff --from root:xyzzy --to xyzzy
225 </tt></blockquote>
226
227 <a id="merge-in"></a>
228 That doesn't do what you might expect after you merge the parent
229 branch's changes into the child branch: the above command will include
230 changes made on the parent branch as well.
@@ -234,10 +234,19 @@
234 the most recent merge-in point for that branch.
235 The resulting diff will then show only the changes in
236 the branch itself, omitting
237 any changes that have already been merged in from the parent branch.
238
239 The prefixes "<tt>root:</tt>" and "<tt>merge-in:</tt>" can be chained: one
240 can say for example
241
242 <blockquote><tt>
243 fossil info merge-in:xyzzy:2022-03-01
244 </tt></blockquote>
245
246 to get informations about the most recent merge-in point on the branch
247 "xyzzy" that happened on or before March 1, 2022.
248
249 <h2 id="special">Special Tags</h2>
250
251 The tag "tip" means the most recent check-in. The "tip" tag is practically
252 equivalent to the timestamp "9999-12-31".
253

Keyboard Shortcuts

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