Re: [p4] Passing description into p4 shelve using P4 perl module

Sambwise <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Sambwise'.

Oh, there is no RunShelve().  But this example lets me connect the
dots:

https://www.perforce.com/perforce/r15.1/manuals/p4script/perl.p4.html#perl.p4.save_spectype

So I think you want:
$change = $p4->FetchChange(); # this is the "p4 change
-o" $change->{ 'Description' } = "blah"; # this
and the following line are the "--field Description=blah" $form =
$p4->FormatChange( $change ); $p4->SetInput( $form );
# this is the pipe $p4->Run( "shelve", "-i" ); #
this is the "p4 shelve -i"



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5600-passing-description-into-p4-shelve-using-p4-perl-module
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.