HomePhabricator

url_util: introduce a `try_path` function

Authored by marmoute.

Description

url_util: introduce a try_path function

That function… try a build a path, returning None on failure. This helps us to simplify various part of the existing code.

Differential Revision: https://phab.mercurial-scm.org/D10437

Details

Committed
marmouteApr 15 2021, 3:50 AM
Differential Revision
D10437: url_util: introduce a `try_path` function
Parents
rHG20eba5cef2e0: narrow: add more status messages when narrowing
Branches
Unknown
Tags
Unknown