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

stable mq: add a qgotoRevision method, callable by the Workbench

Changeset ac772a9f3cde

Parent 317a6958b7ee

by Steve Borho

Changes to one file · Browse files at ac772a9f3cde Showing diff from parent 317a6958b7ee Diff from another changeset...

 
363
364
365
 
 
 
 
 
 
 
 
 
 
 
366
367
368
 
373
374
375
 
376
377
378
 
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
 
384
385
386
387
388
389
390
@@ -363,6 +363,17 @@
  if dlg.exec_() == QDialog.Accepted:   self.reload()   + def qgotoRevision(self, rev): + if self.cmd.running(): + return + cmdline = ['qgoto', '-R', self.repo.root] + cmdline += self.getUserOptions('force') + cmdline += ['--', rev] + self.repo.incrementBusyCount() + self.qtbar.setEnabled(False) + self.finishfunc = self.checkForRejects + self.cmd.run(cmdline) +   #@pyqtSlot(QListWidgetItem)   def onGotoPatch(self, item):   'Patch has been activated (return), issue qgoto' @@ -373,6 +384,7 @@
  cmdline += ['--', item._thgpatch]   self.repo.incrementBusyCount()   self.qtbar.setEnabled(False) + self.finishfunc = self.checkForRejects   self.cmd.run(cmdline)     #@pyqtSlot(QListWidgetItem)