Commits

Yuya Nishihara  committed 6940267

graft: reorder variables where they should be

  • Participants
  • Parent commits 1481e24

Comments (0)

Files changed (1)

File tortoisehg/hgqt/graft.py

         box.setContentsMargins(*(6,)*4)
         self.setLayout(box)
 
-        destrev = self.repo['.'].rev()
-        self.cslist = cslist.ChangesetList(self.repo)
-
-        style = csinfo.panelstyle(selectable=True)
         self.srcb = srcb = QGroupBox()
         srcb.setLayout(QVBoxLayout())
         srcb.layout().setContentsMargins(*(2,)*4)
 
+        self.cslist = cslist.ChangesetList(self.repo)
         self._updateSource(0)
         srcb.layout().addWidget(self.cslist)
         self.layout().addWidget(srcb)
 
+        destrev = self.repo['.'].rev()
+        style = csinfo.panelstyle(selectable=True)
         destb = QGroupBox(_('To graft destination'))
         destb.setLayout(QVBoxLayout())
         destb.layout().setContentsMargins(*(2,)*4)