2009-10-29 2 views
0

이 서브 버전 가져 오기 명령이 작동처럼 행동하지 않습니다REBOL 전화 명령 정확히 도스 명령 (서브 버전 명령 줄 예) 도스 명령 줄에서

"C:\Program Files\Subversion\bin\svn.exe" import c:\myproj file:///c:/svnrepo/myproj -m "test" 

내가 REBOL 전화 명령과 같은 명령을 보내려고하는 경우 이 스크립트 :

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 

값을 얻을 것이다 내가 의 DOS 명령과 같은 :

>> command 
== {"C:\Program Files\Subversion\bin\svn.exe" import c:\myproj file:///c:/svnrepo/m 
yproj -m "test"} 
>> 

그래서 나는 추가 --force-로그인하고 다음 작업을 못했지만 존재하는 경우 아직도 REBOL 도스 명령처럼 작동하지 않는 이유를 알고 싶습니다 나는 무시한다.

+0

[print 명령]은 어떻게 생겼습니까? 예상되는 형식화 된 문자열의 변형을 CALL에 사용 하시겠습니까? – Sunanda

+0

나는 콘솔의 명령 출력 위에 놓은대로 print 명령에 의해 무엇을 의미하는지 이해하지 못합니다 : print와 같은 출력이 아닙니까? –

+0

좋은 아이디어입니다. 아직 테스트하지 못했습니다. 전복으로 무언가를 엉망으로 만들었습니다. http://stackoverflow.com/questions/344691/subversion-expected-format-3-of-repository-found-format-5 –

답변

1

% script.cmd라고하는 명령을 작성하고 Rebol에서 호출하는 경우 원하는 효과를 얻습니까?