author | Denis Laxalde <denis.laxalde@logilab.fr> |
Mon, 09 Jan 2017 09:34:39 +0100 | |
changeset 31268 | 4fba214708ee |
parent 31267 | 881ed6a4cf87 |
child 31269 | 5e7fd3a0b17f |
--- a/mercurial/mdiff.py Tue Sep 27 20:27:35 2016 +0200 +++ b/mercurial/mdiff.py Mon Jan 09 09:34:39 2017 +0100 @@ -253,9 +253,8 @@ return "".join(l) -# creates a headerless unified diff -# t1 and t2 are the text to be diffed def _unidiff(t1, t2, opts=defaultopts): + """Yield hunks of a headerless unified diff from t1 and t2 texts.""" l1 = splitnewlines(t1) l2 = splitnewlines(t2) def contextend(l, len):