Plugins/VcsPlugins/vcsSubversion/SvnNewProjectOptionsDialog.py

branch
5_2_x
changeset 1802
b0aaf0f7e2b4
parent 1509
c0b5e693b0eb
child 1878
de889f485ae8
child 2303
0ed4ed026c16
equal deleted inserted replaced
1800:a4288c272b05 1802:b0aaf0f7e2b4
126 @return a tuple of a string (project directory) and a dictionary 126 @return a tuple of a string (project directory) and a dictionary
127 containing the data entered. 127 containing the data entered.
128 """ 128 """
129 scheme = self.protocolCombo.currentText() 129 scheme = self.protocolCombo.currentText()
130 url = self.vcsUrlEdit.text() 130 url = self.vcsUrlEdit.text()
131 if scheme == "file://" and url[0] not in ["\\", "/"]:
132 url = "/{0}".format(url)
133 vcsdatadict = { 131 vcsdatadict = {
134 "url": '{0}{1}'.format(scheme, url), 132 "url": '{0}{1}'.format(scheme, url),
135 "tag": self.vcsTagEdit.text(), 133 "tag": self.vcsTagEdit.text(),
136 "standardLayout": self.layoutCheckBox.isChecked(), 134 "standardLayout": self.layoutCheckBox.isChecked(),
137 } 135 }

eric ide

mercurial