Submitter | phabricator |
---|---|
Date | March 25, 2022, 5:38 a.m. |
Message ID | <differential-rev-PHID-DREV-c6db3hzvcbc5j2jre37s-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50755/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/filemerge.py b/mercurial/filemerge.py --- a/mercurial/filemerge.py +++ b/mercurial/filemerge.py @@ -848,7 +848,7 @@ props = {b'ctx': ctx} templateresult = template.renderdefault(props) - input.label_detail = templateresult.splitlines()[0] # split for safety + input.label_detail = stringutil.firstline(templateresult) # avoid '\n' def _populate_label_details(repo, inputs, tool=None):