Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3009
bf5ae5d7477d
child 3058
0a02c433f52d
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
50 50
51 reposURL = self.vcs.svnGetReposName(path) 51 reposURL = self.vcs.svnGetReposName(path)
52 if reposURL is None: 52 if reposURL is None:
53 E5MessageBox.critical(self, 53 E5MessageBox.critical(self,
54 self.trUtf8("Subversion Error"), 54 self.trUtf8("Subversion Error"),
55 self.trUtf8("""The URL of the project repository could not be""" 55 self.trUtf8(
56 """The URL of the project repository could not be"""
56 """ retrieved from the working copy. The operation will""" 57 """ retrieved from the working copy. The operation will"""
57 """ be aborted""")) 58 """ be aborted"""))
58 self.reject() 59 self.reject()
59 return 60 return
60 61
92 """ 93 """
93 Private method used to change the label combo depending on the 94 Private method used to change the label combo depending on the
94 selected type. 95 selected type.
95 96
96 @param labelCombo reference to the labelCombo object (QComboBox) 97 @param labelCombo reference to the labelCombo object (QComboBox)
97 @param type type string (string) 98 @param type_ type string (string)
98 """ 99 """
99 if type_ == "trunk/": 100 if type_ == "trunk/":
100 labelCombo.clear() 101 labelCombo.clear()
101 labelCombo.setEditText("") 102 labelCombo.setEditText("")
102 labelCombo.setEnabled(False) 103 labelCombo.setEnabled(False)

eric ide

mercurial