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

repowidget: fix qgoto context menu option

Was passing qgoto the rev of applied patches rather than
the patch name.

Changeset a63cd23ad1e5

Parent 254b28e32adf

by George Marrows

Changes to one file · Browse files at a63cd23ad1e5 Showing diff from parent 254b28e32adf Diff from another changeset...

 
658
659
660
661
662
663
 
 
 
 
664
665
666
 
658
659
660
 
 
 
661
662
663
664
665
666
667
@@ -658,9 +658,10 @@
  '--repository', self.repo.root]   self.runCommand(_('QFinish - TortoiseHg'), cmdline)   - def qgotoRevision(self, patchname=None): - """Make PATCHNAME the top applied patch""" - patchname = patchname or self.rev + def qgotoRevision(self, rev=None): + """Make REV the top applied patch""" + rev = rev or self.rev + patchname = self.repo.changectx(rev).thgmqpatchname()   cmdline = ['qgoto', str(patchname), # FIXME force option   '--repository', self.repo.root]   self.runCommand(_('QGoto - TortoiseHg'), cmdline)