Perforce签入错误:/perforce/master/utils/p4trigger/FixCheck.pl的执行因编译错误而中止

时间:2014-08-14 06:21:31

标签: perforce

我正在尝试提交一个更改列表并收到以下错误。无法找到任何可能的原因,它看起来超出了我的变化。任何帮助将不胜感激。

'FixAddCheck' validation failed: "my" variable $sChange masks earlier declaration in same scope at /perforce/master/utils/p4trigger/FixCheck.pl line 120.
"my" variable $sFixCnt masks earlier declaration in same statement at /perforce/master/utils/p4trigger/FixCheck.pl line 122.
syntax error at /perforce/master/utils/p4trigger/FixCheck.pl line 106, near "){"
syntax error at /perforce/master/utils/p4trigger/FixCheck.pl line 116, near "} elsif"
syntax error at /perforce/master/utils/p4trigger/FixCheck.pl line 125, near "}"
Execution of /perforce/master/utils/p4trigger/FixCheck.pl aborted due to compilation errors.

1 个答案:

答案 0 :(得分:1)

您的Perforce管理员已将Perl脚本设置为预提交触发器,并且脚本中存在导致触发器失败(并拒绝提交)的错误。将这些错误转发给您的管理员,以便他们可以调试(或禁用)触发器脚本。