Defect #8825
JRuby + Windows: SCMs do not work on Redmine 1.2
Status: | Closed | Start date: | 2011-07-15 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | SCM | |||
Target version: | 1.2.2 | |||
Resolution: | Fixed | Affected version: | 1.2.0 |
Description
SCMs on Redmine 1.1 work fine (some tests fail).
SCMs on Redmine 1.2 on CRuby + Windows work fine, too.
But, SCMs on Redmine 1.2 on JRuby + Windows does not work due to 1.2 new feature #7517.
R:\work\hg-workdir\redmine-all>jruby --version jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (Java HotSpot(TM) Client VM 1.6.0_23) [Windows Vista-x86-java]
Mercurial, Git and CVS¶
All tests fail with following error message.
In Japanese:
ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。
Translation to English:
Filename, directory name, or volume label syntax is incorrect.
Subversion and Darcs¶
It seems that feature #7517 does not work on JRuby + Windows.
Bazaar¶
Same with Subversion and Darcs on 1.2 stable.
But trunk does not work.
Because refactoring has started after r5890.
gem version on Redmine 1.1¶
R:\work\hg-workdir\redmine-all>gem --version 1.5.1
You need to apply jruby-gem-redmine-1.1.diff
Related issues
Associated revisions
scm: add new method "shell_quote_command" at abstract adapter (#8825).
scm: subversion: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
scm: darcs: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
scm: cvs: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
scm: cvs: use self.class.sq_bin for command name at adpter scm_cmd() (#8825).
scm: mercurial: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
scm: mercurial: use self.class.sq_bin for command name at adpter scm_cmd() (#8825).
scm: git: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
scm: git: use self.class.sq_bin for command name at adpter scm_cmd() (#8825).
scm: bazaar: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
scm: bazaar: use self.class.sq_bin for command name at adpter scm_cmd() (#8825).
scm: bazaar: use self.class.sq_bin for command name at adpter scm_cmd_no_raise() (#8825).
History
#1
Updated by alvis lee over 11 years ago
+1
#2
Updated by Toshi MARUYAMA over 11 years ago
- Status changed from New to Closed
- Target version set to 1.2.2
- Resolution set to Fixed
As I described at r6447 comment and source:trunk/config/configuration.yml.example@6447#L115, scm command path which contains spaces does not work.
CVS and Bazaar do not work.I created new issues.
Other scms pass tests.