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 } |