Plugins/VcsPlugins/vcsSubversion/SvnNewProjectOptionsDialog.py

changeset 1801
fe02732a7675
parent 1509
c0b5e693b0eb
child 1878
de889f485ae8
child 2303
0ed4ed026c16
equal deleted inserted replaced
1797:d9c7669ff4f8 1801:fe02732a7675
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