Project

General

Profile

Actions

Defect #1673

closed

Passing full URI for file for svn doesn't work

Added by Marc Broekhuis over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-07-22
Due date:
% Done:

0%

Estimated time:
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

Also available in: Atom PDF