Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

workbench: first steps at trying to implement updateToRevision

Changeset 081068bed495

Parent e7a975b215be

by Adrian Buehlmann

Changes to one file · Browse files at 081068bed495 Showing diff from parent e7a975b215be Diff from another changeset...

 
30
31
32
 
33
34
35
 
381
382
383
 
384
385
386
 
429
430
431
 
 
 
 
 
 
 
 
432
433
434
 
30
31
32
33
34
35
36
 
382
383
384
385
386
387
388
 
431
432
433
434
435
436
437
438
439
440
441
442
443
444
@@ -30,6 +30,7 @@
 from tortoisehg.hgqt.dialogmixin import HgDialogMixin  from tortoisehg.hgqt.quickbar import FindInGraphlogQuickBar  from tortoisehg.hgqt.helpdialog import HelpDialog +from tortoisehg.hgqt import cmdui    from tortoisehg.util import paths   @@ -381,6 +382,7 @@
  view.installEventFilter(self)   connect(view, SIGNAL('revisionSelected'), self.revision_selected)   connect(view, SIGNAL('revisionActivated'), self.revision_activated) + connect(view, SIGNAL('updateToRevision'), self.updateToRevision)   connect(self.textview_header, SIGNAL('revisionSelected'), view.goto)   connect(self.textview_header, SIGNAL('parentRevisionSelected'), self.textview_status.displayDiff)   self.attachQuickBar(view.goto_toolbar) @@ -429,6 +431,14 @@
  self._manifestdlg = ManifestDialog(self.repo, rev)   self._manifestdlg.show()   + def updateToRevision(self, rev): + print "workbench: updateToRevision called, rev=%s" % rev + args = ['update'] + args += ['-r', str(rev)] + dlg = cmdui.Dialog(args) + dlg.show() + self._updatedlg = dlg +   def file_displayed(self, filename):   self.actionPrevDiff.setEnabled(False)   connect(self.textview_status, SIGNAL('filled'),