[p4] A trigger change-submit deadlock

G. Matthew Rice matt at starnix.com
Fri Sep 7 12:38:46 PDT 2007


Rex Tener <rex_tener at yahoo.com> writes:
> However, now I am in a deadlock when trying to resubmit using "p4 
> submit -c XXXXX" as the comment does not contain the string and it 
> goes through the above four steps again.  How do I get it to show the 
> submit form to the user?

How about...

In the trigger 'error' output, tell them that they'll need to run:

        p4 change XXXXX

first.  Then:

        p4 submit -c XXXXX

It seems the simplest solution to me.  I'm sure that there's others.

HTH,
-- 
g. matthew rice <matt at starnix.com>      starnix care, toronto, ontario, ca
phone: 647.722.5301 x242                                  gpg id: EF9AAD20
http://www.starnix.com              professional linux services & products


More information about the perforce-user mailing list