( )⚙ D5220 revsets: make bookmark/named('re:nonexistent') revset not abort (issue6018)

This is an archive of the discontinued Mercurial Phabricator instance.

revsets: make bookmark/named('re:nonexistent') revset not abort (issue6018)
ClosedPublic

Authored by martinvonz on Nov 5 2018, 12:18 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Nov 5 2018, 12:18 PM
yuja added a subscriber: yuja.Nov 6 2018, 6:51 AM

Flagged as (BC) and queued, thanks.

This revision was automatically updated to reflect the committed changes.