[p4] Submit comments without line breaks
Robert Cowham
robert at vizim.com
Thu Oct 2 04:58:36 PDT 2008
A trigger could do this.
Alternatively, you can edit the comments after the fact and tidy them up -
might not be too painful if it's only once in a while?
>From p4 help change:
The -f flag can force the update or deletion of other users' pending
changelists. -f can also force the deletion of submitted changelists
once they have been emptied of files via 'p4 obliterate'. Normally,
submitted changelists are immutable. The -f flag requires 'admin'
access granted by 'p4 protect'. The -f and -u flags are mutually
exclusive.
The -u flag can force the update of a submitted change by the owner
of the change. Only the Jobs and Description fields can be changed
using the -u flag. The -f and -u flags cannot be used in the same
change command.
The -u has been around since 2007.2, although see 2008.1 release notes:
#149573 **
'p4 change -u' no longer requires both the username and
workspace of the user to match those of the owner of the
submitted change. Now only the username needs to match.
(Bug #25380, #28412)
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Roy Smith
> Sent: 02 October 2008 12:29
> To: perforce-user at perforce.com
> Subject: [p4] Submit comments without line breaks
>
> Our users use a variety of clients -- some command line, some
> p4v, some p4win. Every once in a while, we get a submit
> comment which doesn't have any line breaks in it., which
> makes it very difficult to read from a command-line tool.
> I'm guessing these come from one of the GUI clients. Is
> there any way we can force all submit comments to get long
> lines folded properly? Or at least some option that we can
> tell all our GUI users to make sure they have set?
More information about the perforce-user
mailing list