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

more fixes on use of revlog.linkrev()

Changeset 343f35389935

Parent cf4e2e0db87d

by TK Soh

Changes to one file · Browse files at 343f35389935 Showing diff from parent cf4e2e0db87d Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​datamine.py Stacked
 
411
412
413
414
 
415
416
417
 
523
524
525
526
 
 
527
528
529
 
411
412
413
 
414
415
416
417
 
523
524
525
 
526
527
528
529
530
@@ -411,7 +411,7 @@
  Prompt('File is unrevisioned',   'Unable to annotate ' + path, self).run()   return - rev = fctx.filelog().linkrev(fctx.filenode()) + rev = fctx.filelog().linkrev(fctx.filerev())   revid = str(rev)   else:   rev = long(revid) @@ -523,7 +523,8 @@
  info = filectx.renamed()   if info:   (rpath, node) = info - frev = self.repo.file(rpath).linkrev(node) + fl = self.repo.file(rpath) + frev = fl.linkrev(fl.rev(node))   button.set_label(toutf('%s@%s' % (rpath, frev)))   button.show()   button.set_sensitive(True)