Reopen the P4 class to restructuring the output of
"p4 describe -s" into a P4Change
object, and to disable any attempt to submit - just in case someone’s
foolish enough to try
# File P4Triggers.rb, line 128
def run_describe( *args )
h = run( "describe", args ).shift
return h unless h.kind_of?( Hash )
return P4Change.new( h )
end
# File P4Triggers.rb, line 135
def submit_spec
raise( "Attempt to submit during trigger execution. Don't do it." )
end
Disable the direct interface to submit
# File P4Triggers.rb, line 140
def run_submit
raise( "Attempt to submit during trigger execution. Don't do it." )
end