47 index = self.remotesComboBox.findText("origin") |
47 index = self.remotesComboBox.findText("origin") |
48 if index == -1: |
48 if index == -1: |
49 index = 0 |
49 index = 0 |
50 self.remotesComboBox.setCurrentIndex(index) |
50 self.remotesComboBox.setCurrentIndex(index) |
51 |
51 |
52 localBranches = self.__vcs.gitGetBranchesList(self.__repodir, withMaster=True) |
52 localBranches = self.__vcs.gitGetBranchesList(self.__repodir) |
53 self.localBranchComboBox.addItems([""] + sorted(localBranches)) |
53 self.localBranchComboBox.addItems([""] + sorted(localBranches)) |
54 self.localBranchComboBox.setEnabled(False) |
54 self.localBranchComboBox.setEnabled(False) |
55 |
55 |
56 def __okButtonEnable(self): |
56 def __okButtonEnable(self): |
57 """ |
57 """ |