この Subversion インポート コマンドは、dos コマンド ラインで機能します。
"C:\Program Files\Subversion\bin\svn.exe" import c:\myproj file:///c:/svnrepo/myproj -m "test"
このスクリプトを使用して Rebol Call Command で同じコマンドを送信しようとすると、次のようになります。
Print "This command will and your files to the repository without requiring a working copy"
repo-directory: to-local-file ask "repo: "
project-subdirectory: to-local-file ask "project: "
source-directory: to-local-file ask "source directory: "
comment: ask "comment: "
command: rejoin [{"} Subversion.Directory "bin\svn.exe" {"} " import " source-directory " file:///" (replace/all (to-local-file repo-directory) "\" "/") "/" project-subdirectory " -m " {"} comment {"}]
call/wait/console command
私はこれを手に入れます
repo: c:\svnrepo
project: myproj
source directory: c:\myproj
comment: test
svn: The given propagation message is a path (-F was this intended ?) ; force with
'--force-log'
== 1
command の値は Dos コマンドと同じです。
>> command
== {"C:\Program Files\Subversion\bin\svn.exe" import c:\myproj file:///c:/svnrepo/m
yproj -m "test"}
>>
そこで、 --force-log を追加すると動作しましたが、Rebol が Dos Command のように動作しない理由を知りたいのですが、無視する理由がある場合はそれを知りたいです。