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

history: use changeview.diff_other_parent

instead of directly accessing changeview's other_parent_checkbutton

Changeset 415f2720e312

Parent 7025078f20c3

by Adrian Buehlmann

Changes to one file · Browse files at 415f2720e312 Showing diff from parent 7025078f20c3 Diff from another changeset...

 
1477
1478
1479
1480
 
1481
1482
1483
 
1626
1627
1628
1629
 
1630
1631
1632
 
1477
1478
1479
 
1480
1481
1482
1483
 
1626
1627
1628
 
1629
1630
1631
1632
@@ -1477,7 +1477,7 @@
  rev = self.currevid   parents = self.repo[rev].parents()   if len(parents) == 2: - if self.changeview.other_parent_checkbutton.get_active(): + if self.changeview.diff_other_parent():   parent = parents[1].rev()   else:   parent = parents[0].rev() @@ -1626,7 +1626,7 @@
  rev = self.currevid   statopts = self.merge_opts(commands.table['^status|st'][1],   ('include', 'exclude', 'git')) - if self.changeview.other_parent_checkbutton.get_active(): + if self.changeview.diff_other_parent():   parent = self.repo[rev].parents()[1].rev()   else:   parent = self.repo[rev].parents()[0].rev()