[p4ruby] Unexpected errors (warning newbie)

Robin Charlton rcharlton at Kelseus.com
Tue Mar 8 04:33:44 PST 2005


Apologies if the answer to this question is trivial - I'm just starting out
with ruby and p4 scripting....
 
Why I try and execute the following command at a dos command line it works
fine, but when I execute it through the ruby P4 object errors are reported,
as follows:
 
p4.run_integ("-d -t -f -n //Depot/Antics/Admin/General.dot
//Depot/Antics/Admin/General2.dot")
 
Errors:
Warnings:
Usage: integrate [ -c changelist# -d -D<flag> -f -h -i -I -n -r -s -t from
-v ] [ -b branch to... | from to ]
Invalid option: - -t -f -n //Depot/Antics/Admin/General.dot
//Depot/Antics/Admin/General2.dot.
c:/ruby/lib/ruby/1.8/P4.rb:122:in `run': [P4#run] Errors during command
execution( "p4 integ -d -t -f -n //Depot/Antics/Admin/General.dot
//Depot/Antics/Admin/General2.dot" ) (P4Exception)
 from c:/ruby/lib/ruby/1.8/P4.rb:122:in `method_missing'
 from p4_refactor.rb:281
 
What's going on here?
-
rcharlton at kelseus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/p4ruby/attachments/20050308/b21ac5d4/attachment-0001.html>


More information about the p4ruby mailing list