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

repowidget: use copy of revisions as input to compress dialog

Changeset 7b97b2f8b748

Parent 1f91a3a62272

by Steve Borho

Changes to one file · Browse files at 7b97b2f8b748 Showing diff from parent 1f91a3a62272 Diff from another changeset...

 
815
816
817
818
 
819
820
 
 
821
822
823
824
825
 
826
827
828
 
815
816
817
 
818
819
 
820
821
822
823
824
825
 
826
827
828
829
@@ -815,14 +815,15 @@
  ctxa = self.repo[selection[0]]   ctxb = self.repo[selection[1]]   if ctxa.ancestor(ctxb) == ctxb: - pass + revs = selection[:]   elif ctxa.ancestor(ctxb) == ctxa: - selection.reverse() + revs = selection[:] + revs.reverse()   else:   InfoMsgBox(_('Unable to compress history'),   _('Selected changeset pair not related'))   return - dlg = compress.CompressDialog(self.repo, selection, self) + dlg = compress.CompressDialog(self.repo, revs, self)   dlg.finished.connect(dlg.deleteLater)   dlg.exec_()