Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

stable changeset: fix 'dateage' custom item if target doesn't have date

Changeset 29a0572cc887

Parent 9cb8bbaac162

by Yuki KODAMA

Changes to one file · Browse files at 29a0572cc887 Showing diff from parent 9cb8bbaac162 Diff from another changeset...

 
441
442
443
444
 
 
 
445
446
447
 
441
442
443
 
444
445
446
447
448
449
@@ -441,7 +441,9 @@
  if item == 'dateage':   date = widget.get_data('date')   age = widget.get_data('age') - return (date, age) + if date is not None and age is not None: + return (date, age) + return None   elif item == 'parents':   return [revline_data(ctx) for ctx in ctx.parents()]   elif item == 'children':