Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.6, 0.7, and 0.7.1

fix use of revlog.linkrev()

linkrev() takes file rev in Mercurial 1.1, instead of file node.

Changeset acd579ce664a

Parent 950bb1dcba95

by TK Soh

Changes to one file · Browse files at acd579ce664a Showing diff from parent 950bb1dcba95 Diff from another changeset...

 
622
623
624
625
 
626
627
628
 
622
623
624
 
625
626
627
628
@@ -622,7 +622,7 @@
  ctx = self.repo.changectx(self.currev)   try:   fctx = ctx.filectx(self.curfile) - has_filelog = fctx.filelog().linkrev(fctx.filenode()) == ctx.rev() + has_filelog = fctx.linkrev() == ctx.rev()   except revlog.LookupError:   has_filelog = False   self._ann_menu.set_sensitive(has_filelog)