$ hg log -r "bookmark('re:nonexistent')" abort: no bookmarks exist that match 'nonexistent'! It seems like it should simply return an empty set. That's what tag('re:nonexistent') does.
Nods.
Fixed by https://mercurial-scm.org/repo/hg/rev/7ed611c60168 Martin von Zweigbergk <martinvonz@google.com> revsets: make bookmark/named('re:nonexistent') not abort (issue6018) (BC) Foozy documented the differences between revsets branch(), tag(), bookmark(), and named() in eeb5d5ab14a6 (revset: raise RepoLookupError to make present() predicate continue the query, 2015-01-31). He seemed to want tag() to change behavior to not error out on non-matching regular expressions. I think it's instead bookmark() and named() that should not error out. So that's what this patch does. Differential Revision: https://phab.mercurial-scm.org/D5220 (please test the fix)
Bug was set to TESTING for 7 days, resolving