Given a history like: o bookmark: some-feature | o some-change | o stable : Such that `hg log -r some-feature%stable` lists the two first commits. A search in hgweb however lists nothing and says: > Assuming literal keyword search.
However as found by TheMystic on IRC, a search for a feature%stable works, suggesting that the dash has something to do with it.
According to bisect: The first bad revision is: changeset: 37700:f83cb91b052e user: Yuya Nishihara <yuya@tcha.org> date: Sat Apr 14 12:57:32 2018 +0900 summary: revset: pass in lookup function instead of repo (API)
Can't reproduce with "hg serve". Which web interface and extensions did you test with?
I tested with `hg serve` in 4.6 and on default (yesterday). More specifically: 1. Set a bookmark with a hyphen in the name. I used the hg repo itself and set a bookmark called 'dash-stable' on the head of 'stable'. (Maybe bookmarks have to be involved?) 2. Search for 'dash-stable%default' in hgweb (run via 'hg serve'). The results returned say "Assuming literal keyword search."
Silly me. My test repo had "foo" and "bar" bookmarks while testing "foo-bar%." query. Even worse, "bar" was invisible because it points to the null revision. :) I'll send a fix shortly.
Fixed by https://mercurial-scm.org/repo/hg/rev/edb28a6d95b7 Yuya Nishihara <yuya@tcha.org> revset: pass in lookup function to matchany() (issue5879) Silly mistake in f83cb91b052e. (please test the fix)
Bug was set to TESTING for 7 days, resolving