Sven Erik Knop
2017-04-06 13:32:04 UTC
Hi Sean,
this will not work, because the submit option is not set by default, so all you are changing the comment.
but this will work if you replace 'change' with 'client':
autodesc form-out client "sed -i -e %quote%s/submitunchanged/revertunchanged/%quote% %formfile%"
Cheers,
Sven Erik
--
Sven Erik Knop | Principal Solutions Engineer
Perforce Software<http://www.perforce.com>
T: +44 1189 771020<tel:+441189771020> | M: +44 7974 351514<tel:+447974351514>
Visit us on: Twitter<https://twitter.com/perforce> | LinkedIn<https://www.linkedin.com/company/perforce-software> | Facebook<https://www.facebook.com/Perforce>
On 6 Apr 2017, at 10:45, SeanT <perforce-user-***@forums.perforce.com<mailto:perforce-user-***@forums.perforce.com>> wrote:
Posted on behalf of forum user 'SeanT'.
Hi Sven,
should i be able to get this working using:
autodesc form-out change "sed -i -e
%quote%s/submitunchanged/revertunchanged/%quote% %formfile%"
--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/948-how-to-set-the-default-submit-option-for-new-workspaces
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com<mailto:perforce-***@perforce.com>
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-
this will not work, because the submit option is not set by default, so all you are changing the comment.
but this will work if you replace 'change' with 'client':
autodesc form-out client "sed -i -e %quote%s/submitunchanged/revertunchanged/%quote% %formfile%"
Cheers,
Sven Erik
--
Sven Erik Knop | Principal Solutions Engineer
Perforce Software<http://www.perforce.com>
T: +44 1189 771020<tel:+441189771020> | M: +44 7974 351514<tel:+447974351514>
Visit us on: Twitter<https://twitter.com/perforce> | LinkedIn<https://www.linkedin.com/company/perforce-software> | Facebook<https://www.facebook.com/Perforce>
On 6 Apr 2017, at 10:45, SeanT <perforce-user-***@forums.perforce.com<mailto:perforce-user-***@forums.perforce.com>> wrote:
Posted on behalf of forum user 'SeanT'.
Hi Sven,
should i be able to get this working using:
autodesc form-out change "sed -i -e
%quote%s/submitunchanged/revertunchanged/%quote% %formfile%"
--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/948-how-to-set-the-default-submit-option-for-new-workspaces
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com<mailto:perforce-***@perforce.com>
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-