AW: [p4] Is there a way to have individual comments in a changelist?
karl.philipp at danet.de
Tue Jul 31 02:27:40 PDT 2001
> Has anyone come up with a way to get individual comments per file in a
I've no solution but an idea.
I describe this idea for further discussion in this mailinglist,
because I am a newbie using Perforce (expierence of 5 weeks).
Perhaps I can learn a little by other advanced Perforce users
My idea is as follows:
You can use a pre-submit trigger that
i) analyzes which files belongs to the changelist
ii) requests for a special comment for each such file
iii) stores the requested information in the description field
of the changelist form in a special format, for instance
in xml syntax.
The special format has the advantage, that such changelists
can be parsed for certain comments with appropriate scripts
and can be displayed appropriately.
But I don't know whether it is still possible to edit the change
form with a pre-submit trigger.
And what will happen, if the trigger has finished, the change
form is opend for editing by the user and the user drop a file
from the changelist?
In this case the corresponding comment must be dropped from the
A possible solution is, that a daemon runs, which checks out the
submitted changelists of the last 12 hours (or similiar) and drops
the superfluous file comments. In this case the daemon needs
Perforce Admin privileges.
The changes are that is no good solution, but a workaround.
I hope, that the perforce team creates the facility of post
submit triggers in the future.
Phone : +49 6151 868 - 518
Fax : +49 6151 868 - 980
eMail : mailto:karl.philipp at danet.de
Danet GmbH, Business Unit BI
64331 Weiterstadt, Germany
WWW : http://www.danet.de
More information about the perforce-user