Actions
Defect #1673
closedPassing full URI for file for svn doesn't work
Defect #1673:
Passing full URI for file for svn doesn't work
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Resolution:
Invalid
Affected version:
Description
The full URI including 'file://' gets passed to the command 'svn list --xml' with a local svn repository and subversion 1.5.0 doesn't like the 'file://' part. It will only work with an absolute path without 'file://', so just like 'svn list --xml /path/to/repo'. I've worked around this by commenting out 'validates_presence_of' and 'validates_format_of' in the file 'app/models/repository/subversion.rb' and by entering the absolute path without the 'file://' part in the scm configuration, but I guess this should be fixed by stripping the 'file://' part off the URI later on when passing it to the 'svn list --xml' command in lib/redmine/scm/adapters/subversion_adapter.rb.
Actions