Reputation: 957
Are there any way to search in fossil repository for
Fossil's documentation claims there is a search command available in UI: /search but I cannot figure out how to use it.
Upvotes: 4
Views: 704
Reputation: 13632
In versions before 1.31, the search
command only searched check-in comments.
As of 1.31, it also searches tickets, wiki, and documentation contents. But it (still) does not search source code, unless you specify your source files as searchable documentation.
As Registered User rightly says, searching needs to be enabled explicitly for each repository. See the help for the srchsetup page, and the fts-config
command.
(The Fossil website usually runs a recent version from Fossil's own trunk branch. That's why it sometimes shows features that aren't present (yet) in the most recent binaries).
Upvotes: 4
Reputation: 265
If you are using the latest from trunk, you need to enable searching in the admin section.
More specifically, please review this: http://www.fossil-scm.org/index.html/help?cmd=/srchsetup
Upvotes: 1