3 ms·
First, it's discouraged in Fossil, because the right way to do it is to just hide stuff in your "select" view(generally the dashboard in the web UI), so it only
by zie 4y ago
First, it's discouraged in Fossil, because the right way to do it is to just hide stuff in your "select" view(generally the dashboard in the web UI), so it only shows the stuff you want anyway, i.e. everything is visible, but you select your view to only show the stuff you care about at the time. I.e. don't change the back-end data, change the query you use to view it.
If you are bound and determined to hide it by default, then, it's just a flag attached to a commit or a branch(by default in the CLI, it can only apply to branches):
fossil amend --hide <branchname>
If you want to hide individual commits, you have to work a touch harder:
fossil tag add --raw hidden <COMMIT_ID>
This thread in the Fossil forums might prove interesting: https://fossil-scm.org/forum/forumpost/333117081652bf3db6dc6f92ccf6682fd1fcd21f205672c2aad253a5fea6e30a https://fossil-scm.org/forum/forumpost/333117081652bf3db6dc6...
- mdaniel 4y agoGreat, thank you for taking the time. That flag must be exclusively for the web timeline view because it did the opposite of what I was hoping This is fossil version 2.20 [210e89a059] 2022-11-16 18:46:32 UTC $ fossil timeline === 2022-12-13 === 22:27:34 [dcb81ebb44] *CURRENT* paragraph (user: mdaniel tags: main, trunk) 22:27:09 [3a2c469dae] better readme (user: mdaniel tags: main, trunk) 22:26:46 [3fd12e216a] readme (user: mdaniel tags: main, trunk) 22:26:24 [222d705331] initial (user: mdaniel tags: main, trunk) +++ no more data (4) +++ $ fossil tag add --raw hidden 3a2c469dae $ fossil timeline === 2022-12-13 === 22:30:39 [e54ead5c08] Edit [3a2c469dae6d6490|3a2c469dae]: Add "hidden". (user: mdaniel) 22:27:34 [dcb81ebb44] *CURRENT* paragraph (user: mdaniel tags: main, trunk) 22:27:09 [3a2c469dae] better readme (user: mdaniel tags: main, trunk) 22:26:46 [3fd12e216a] readme (user: mdaniel tags: main, trunk) 22:26:24 [222d705331] initial (user: mdaniel tags: main, trunk) +++ no more data (5) +++ And yes, I believe the "it's discouraged in Fossil" was the whole point of the exercise in pointing out the cultural mismatches
- zie 4y agoYes, the ability hasn't made it to the CLI (yet?), but the web GUI does honour the hidden flag. If you run `fossil timeline --sql`, you can then change the sql to skip the hidden flag, though I'm not sure where in the commit that is, one would have to do some digging.