Submitter | phabricator |
---|---|
Date | April 16, 2021, 12:03 a.m. |
Message ID | <differential-rev-PHID-DREV-dasw5kdggsw7petvdcou-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48760/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py --- a/mercurial/templatekw.py +++ b/mercurial/templatekw.py @@ -673,7 +673,10 @@ d.update((o, v) for o, v in sorted(pycompat.iteritems(p.suboptions))) return d - return _hybrid(None, urls, makemap, lambda k: b'%s=%s' % (k, urls[k])) + def format_one(k): + return b'%s=%s' % (k, urls[k]) + + return _hybrid(None, urls, makemap, format_one) @templatekeyword(b"predecessors", requires={b'repo', b'ctx'})