1343 """ |
1343 """ |
1344 url = url.replace('\\', '/') |
1344 url = url.replace('\\', '/') |
1345 if url.endswith('/'): |
1345 if url.endswith('/'): |
1346 url = url[:-1] |
1346 url = url[:-1] |
1347 urll = url.split('//') |
1347 urll = url.split('//') |
1348 return "{0}//{1}".format(urll[0], '/'.join(urll[1:])) |
1348 if len(urll) > 1: |
|
1349 url = "{0}//{1}".format(urll[0], '/'.join(urll[1:])) |
|
1350 |
|
1351 return url |
1349 |
1352 |
1350 def gitCreateIgnoreFile(self, name, autoAdd=False): |
1353 def gitCreateIgnoreFile(self, name, autoAdd=False): |
1351 """ |
1354 """ |
1352 Public method to create the ignore file. |
1355 Public method to create the ignore file. |
1353 |
1356 |