Changeset f0463f55ac10…
Parent 96ccf03e3cfc…
by
Changes to one file · Browse files at f0463f55ac10 Showing diff from parent 96ccf03e3cfc Diff from another changeset...
@@ -351,7 +351,7 @@ text = patch.mdiff.unidiff(to, date1,
tn, util.datestr(ctx2.date()),
a, b, r, opts=patch.mdiff.defaultopts)
- yield (s, f, ''.join(header) + text)
+ if header or text: yield (s, f, ''.join(header) + text)
def prepare_diff(self, difflines, offset):
'''Borrowed from hgview; parses changeset diffs'''
|
Loading...