[p4] Marking a file "do not submit"?
Stephen Vance
steve at vance.com
Sat Jul 28 09:30:23 PDT 2007
Put it in its own changelist and make the description of the changelist
"DO NOT SUBMIT!!!".
If it's a particular type of file and it's a serious enough a problem
for the effort, write a trigger that either prevents checkin of that
type or only allows it on a second attempt, giving an "Are you sure?"
message on the failure.
Steve
Roy Smith wrote:
> Is there a way to mark an open file, "do not submit"?
>
> We just had an incident of somebody submitting a change which
> consisted of several files he wanted to submit, plus one that was
> picked up by accident. The accidental one was an experimental idea
> he'd been working on for a long time in a different part of the
> tree. He probably forgot that he still had it open and didn't look
> at the list of file in the changlist too closely, so it got submitted
> by accident.
>
> This isn't the first time it's happened (to various people, including
> myself).
>
> If there was a way to mark a file, "still open for editing, but don't
> ever include in a default changelist". This will let you keep edited
> files around for a long time without risking accidental submissions
> like this. I know, I know, you really should make a new branch for
> stuff like this, but sometimes that's more overhead than it's worth.
>
> -------------------
> Roy Smith <smith_roy at emc.com>
> Software Guy, EMC Common Management Group
> 44 South Broadway, 7th floor
> White Plains, NY 10601
> (914) 580-3427
> AIM: roysmith649
>
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>
--
Stephen Vance
www.vance.com
More information about the perforce-user
mailing list