Project

General

Profile

Actions

Defect #1434

closed

CVS: add support for modules names with spaces

Added by Vladymyr Vladymyrov almost 16 years ago. Updated almost 8 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

redmine fails to import changes from CVS module with space in the name:
For example module: "module with spaces" - redmine generate command which makes cvs to treat the module name as several modules separated with spaces.

Solution is to put module name into the quotes:

Here is patch to fix this:
file: lib/redmine/scm/adapters/cvs_adapter.rb

68c68
<           cmd << " #{path_with_project}" 
---
>           cmd << ' "'+"#{path_with_project}"+'"'
113c113
<           cmd << " #{path_with_project}" 
---
>           cmd << ' "'+"#{path_with_project}"+'"'


Related issues

Has duplicate Redmine - Defect #1642: CVS: add support for modules names with spaces (was #1434).Closed2008-07-14

Actions
Actions

Also available in: Atom PDF