# HG changeset patch # User Yuya Nishihara # Date 1538742655 -32400 # Node ID fe64178103b7155d343f0d4bb02d5ecf8f49981b # Parent 25533575d04ebad69036892808c0e149fbefbf85 remotenames: use util.always instead of handcrafted lambda diff -r 25533575d04e -r fe64178103b7 hgext/remotenames.py --- a/hgext/remotenames.py Fri Oct 05 21:29:21 2018 +0900 +++ b/hgext/remotenames.py Fri Oct 05 21:30:55 2018 +0900 @@ -41,6 +41,7 @@ revsetlang, smartset, templateutil, + util, ) from mercurial.utils import ( @@ -354,7 +355,7 @@ kind, pattern, matcher = stringutil.stringmatcher( revsetlang.getstring(args[0], _('argument must be a string'))) else: - matcher = lambda a: True + matcher = util.always revs = set() cl = repo.changelog