Revset search syntax in hgweb

Alexander Plavin me at aplavin.ru
Wed Jul 10 12:05:10 CDT 2013


While implementing this feature I've found another choice to be done:
what if a user types in something like 'keywort(word)' (i.e. the
expression is parseable to a tree, but there is a typo in a function
name)? Should we just use non-revset search and say 'not found' (if
this 'keywort(word)' isn't in any commit message, of course), or show
an error, like "'keywort' isn't a function"? BitBucket uses first way
(just 'not found'), but the second one seems better to me. What are
your opinions here?


More information about the Mercurial-devel mailing list