Plugins/VcsPlugins/vcsPySvn/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
52 52
53 reposURL = self.vcs.svnGetReposName(path) 53 reposURL = self.vcs.svnGetReposName(path)
54 if reposURL is None: 54 if reposURL is None:
55 E5MessageBox.critical(self, 55 E5MessageBox.critical(self,
56 self.trUtf8("Subversion Error"), 56 self.trUtf8("Subversion Error"),
57 self.trUtf8("""The URL of the project repository could not be""" 57 self.trUtf8(
58 """The URL of the project repository could not be"""
58 """ retrieved from the working copy. The operation will""" 59 """ retrieved from the working copy. The operation will"""
59 """ be aborted""")) 60 """ be aborted"""))
60 self.reject() 61 self.reject()
61 return 62 return
62 63
94 """ 95 """
95 Private method used to change the label combo depending on the 96 Private method used to change the label combo depending on the
96 selected type. 97 selected type.
97 98
98 @param labelCombo reference to the labelCombo object (QComboBox) 99 @param labelCombo reference to the labelCombo object (QComboBox)
99 @param type type string (string) 100 @param type_ type string (string)
100 """ 101 """
101 if type_ == "trunk/": 102 if type_ == "trunk/":
102 labelCombo.clear() 103 labelCombo.clear()
103 labelCombo.setEditText("") 104 labelCombo.setEditText("")
104 labelCombo.setEnabled(False) 105 labelCombo.setEnabled(False)

eric ide

mercurial