##// END OF EJS Templates
filemerge: use new function for getting first line of string...
Martin von Zweigbergk -
r49892:db93041e default
parent child Browse files
Show More
@@ -848,7 +848,7 def _populate_label_detail(input, templa
848
848
849 props = {b'ctx': ctx}
849 props = {b'ctx': ctx}
850 templateresult = template.renderdefault(props)
850 templateresult = template.renderdefault(props)
851 input.label_detail = templateresult.splitlines()[0] # split for safety
851 input.label_detail = stringutil.firstline(templateresult) # avoid '\n'
852
852
853
853
854 def _populate_label_details(repo, inputs, tool=None):
854 def _populate_label_details(repo, inputs, tool=None):
General Comments 0
You need to be logged in to leave comments. Login now