Fossil Forum

hanche 2 months ago

Post: Listing tags on a specific artifact – plain vs raw

Consider this terminal session, taken from inside the sqlite repository ( is my shell prompt):

⬥ fossil tag ls typos
branch=typos
typos
⬥ fossil tag ls --raw typos
branch=typos
sym-trunk
sym-typos

What is that sym-trunk doing in the second output? And if it is there for a good reason, why the difference from the non-raw version?

(I noticed this first in one of my own private repos. The choice of sqlite and typos for illustration purposes is coincidental.) Z 5c9

drh 2 months ago

The "sym-trunk" is a "cancel" tag in this case. See https://sqlite.org/src/ci_tags/a80ae2c98b2dcf7a. The parent check-in had a propagating "sym-trunk" tag. But since this check-in is on a different branch, it includes a cancelling "sym-trunk" tag to stop it from propagating.

Apparently, the "fossil tag ls --raw" command does not differentiate between normal, propagating, and cancel tags. It just lists them all.

Keyboard Shortcuts

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