aboutsummaryrefslogtreecommitdiff
path: root/t/t9831-git-p4-triggers.sh
Commit message (Collapse)AuthorAge
* git-p4: filter for {'code':'info'} in p4CmdListMiguel Torroja2017-07-13
| | | | | | | | | | | The function p4CmdList accepts a new argument: skip_info. When set to True it ignores any 'code':'info' entry (skip_info=False by default). That allows us to fix some of the tests in t9831-git-p4-triggers.sh known to be broken with verobse p4 triggers Signed-off-by: Miguel Torroja <miguel.torroja@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* git-p4: parse marshal output "p4 -G" in p4 changesMiguel Torroja2017-07-13
| | | | | | | | | | | The option -G of p4 (python marshal output) gives more context about the data being output. That's useful when using the command "change -o" as we can distinguish between warning/error line and real change description. This fixes the case where a p4 trigger for "p4 change" is set and the command git-p4 submit is run. Signed-off-by: Miguel Torroja <miguel.torroja@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* git-p4: git-p4 tests with p4 triggersMiguel Torroja2017-07-13
Some p4 triggers in the server side generate some warnings when executed. Unfortunately those messages are mixed with the output of p4 commands. A few git-p4 commands don't expect extra messages or output lines and may fail with verbose triggers. New tests added are known to be broken. Signed-off-by: Miguel Torroja <miguel.torroja@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>