--------------080209020508060201050708
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hello to all.
I wonder if someone is able to help me out. I'm using the RSCM gem to
help us with our deployment and am running into some difficulties when
using RSCM::Subversion.diff to get the changes made since a "base"
revision.
When i call RSCM::Subversion.diff i get the following error:
*/
scm.diff("branches/optimization/Rakefile", 1533, 1665)/*
/svn: Can't write to stream: The pipe is being closed.
c:/ruby/lib/ruby/gems/1.8/gems/rscm-0.5.1/lib/rscm/command_line.rb:111:in
`verify_exit_code': (RSCM::CommandLine::ExecutionError)
dir : C:/Documents and Settings/Jim/My Documents/Work/OffroadDeployR
command : svn diff --revision 1533:1665
"svn://svn.******/Ruby/****/branches/optimization/Rakefile"
executed command : svn diff --revision 1533:1665
"svn://svn.******/Ruby/****/branches/optimization/Rakefile"
exitstatus: 1
STDERR TAIL START
doesn't exist
STDERR TAIL END
from
c:/ruby/lib/ruby/gems/1.8/gems/rscm-0.5.1/lib/rscm/command_line.rb:140:in
`e'
from
c:/ruby/lib/ruby/gems/1.8/gems/rscm-0.5.1/lib/rscm/command_line.rb:70:in
`execute'
from
c:/ruby/lib/ruby/gems/1.8/gems/rscm-0.5.1/lib/rscm/base.rb:281:in `execute'
from
c:/ruby/lib/ruby/gems/1.8/gems/rscm-0.5.1/lib/rscm/scm/subversion.rb:82:in
`diff'
from svn_wrapper.rb:30
from svn_wrapper.rb:29:in `each'
from svn_wrapper.rb:29
from svn_wrapper.rb:28:in `each_pair'
from svn_wrapper.rb:28
from
c:/ruby/lib/ruby/gems/1.8/gems/rscm-0.5.1/lib/rscm/revisions.rb:64:in `each'
from
c:/ruby/lib/ruby/gems/1.8/gems/rscm-0.5.1/lib/rscm/revisions.rb:64:in `each'
from svn_wrapper.rb:7
/However if i copy the svn diff cmd from the error codeand run it from a
command line, I get a diff of the files as expected.:
*/svn diff --revision 1533:1665
"svn://svn.******/Ruby/****/branches/optimization/Rakefile"/*
/
/I'm running Ruby 1.8.6 on Windows XP with the RSCM v0.5.1 (oh and
Subversion 1.5.1). If i've missed anything let me know. Would really
appreciate help if anyone can.
Cheers
Jim
--------------080209020508060201050708
Content-Type: text/x-vcard; charset=utf-8;
name im_mckerchar.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename im_mckerchar.vcf"
YmVnaW46dmNhcmQNCmZuOkppbSBNY0tlcmNoYXINCm46TWNLZXJjaGFyO0ppbQ0KYWRyOjs7
O0h1ZGRlcnNmaWVsZDs7O1VuaXRlZCBLaW5nZG9tDQplbWFpbDtpbnRlcm5ldDpqaW0ubWNr
ZXJjaGFyQGJ0aW50ZXJuZXQuY29tDQp4LW1vemlsbGEtaHRtbDpUUlVFDQp2ZXJzaW9uOjIu
MQ0KZW5kOnZjYXJkDQoNCg --------------080209020508060201050708--