patch.diff
lib/scm_repositories_controller_patch.rb (working copy) | ||
---|---|---|
220 | 220 |
def scm_create_repository(repository, interface, url) |
221 | 221 |
name = interface.repository_name(url) |
222 | 222 |
if name |
223 |
path = interface.path(name) |
|
223 |
path = interface.default_path(name)
|
|
224 | 224 |
if File.directory?(path) |
225 | 225 |
repository.errors.add(:url, :already_exists) |
226 | 226 |
else |