Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc1, 0.4rc2, and 0.4rc3

hggtk/changeset: skip changeset files with no changes

This can happen in merge changesets, where all files changed in either
parent are listed in both sets of diffs. We don't bother showing them
in the changeset viewer.

Changeset f0463f55ac10

Parent 96ccf03e3cfc

by Steve Borho

Changes to one file · Browse files at f0463f55ac10 Showing diff from parent 96ccf03e3cfc Diff from another changeset...

 
351
352
353
354
 
355
356
357
 
351
352
353
 
354
355
356
357
@@ -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'''