Commits

Yuya Nishihara  committed 3d3d657

graft: delete grafted revision from cslist on continue (refs #3655)

This is necessary in order to merge cslist and source csinfo widget.
Otherwise, user can easily miss the next revision to be grafted.

  • Participants
  • Parent commits c3d014f

Comments (0)

Files changed (1)

File tortoisehg/hgqt/graft.py

             % (len(self.sourcelist), destrev))
         self.layout().addWidget(listlabel)
         self.cslist = cslist.ChangesetList(self.repo)
-        self.cslist.update(self.sourcelist)
         self.layout().addWidget(self.cslist)
         listlabel.setVisible(len(self.sourcelist) > 1)
         self.cslist.setVisible(len(self.sourcelist) > 1)
 
     def _updateSource(self, idx):
         self._updateSourceTitle(idx)
+        self.cslist.update(self.sourcelist[idx:])
         self.source.update(self.repo[self.sourcelist[idx]])
 
     @pyqtSlot(bool)