Logo Search packages:      
Sourcecode: hgview version File versions  Download package

def hgviewlib::qt4::hgrepoviewer::HgRepoViewer::revision_selected (   self,
  rev 
)

Callback called when a revision is selected in the revisions table

Definition at line 354 of file hgrepoviewer.py.

00354                                     :
        """
        Callback called when a revision is selected in the revisions table
        """
        if self.repomodel.graph:
            ctx = self.repomodel.repo.changectx(rev)
            self.textview_status.setContext(ctx)
            self.textview_header.displayRevision(ctx)
            self.filelistmodel.setSelectedRev(ctx)
            if len(self.filelistmodel):
                self.tableView_filelist.selectRow(0)

    def _getrepomtime(self):


Generated by  Doxygen 1.6.0   Back to index