Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable bisect: fix revison display

Changeset 48b83428454e

Parent ba3fbcfbdc5f

by Steve Borho

Changes to one file · Browse files at 48b83428454e Showing diff from parent ba3fbcfbdc5f Diff from another changeset...

 
83
84
85
86
87
 
 
88
89
90
 
91
92
93
94
 
 
 
95
96
97
 
83
84
85
 
 
86
87
88
89
 
90
91
92
 
 
93
94
95
96
97
98
@@ -83,15 +83,16 @@
  lbl.setText(_('Error encountered.'))   return   repo.dirstate.invalidate() - rev = repo['.'].rev() - if rev == self.lastrev: + ctx = repo['.'] + if ctx.rev() == self.lastrev:   lbl.setText(_('Culprit found.'))   return - self.lastrev = rev + self.lastrev = ctx.rev()   for b in self.nextbuttons:   b.setEnabled(True) - lbl.setText('%s: %d (%s) -> %s' % (_('Revision'), rev.id(), rev.hash(), _('Test this revision and report findings. ' - '(good/bad/skip)'))) + lbl.setText('%s: %d (%s) -> %s' % (_('Revision'), ctx.rev(), ctx, + _('Test this revision and report findings. ' + '(good/bad/skip)')))   self.cmd.commandFinished.connect(cmdFinished)     prefix = ['bisect', '--repository', repo.root]