[p4] perforce keyword expansion - why not always on?
Michael K O'Brien
mobrien at pixar.com
Thu Aug 22 10:20:27 PDT 2002
You can change the default text filetype to do keyword expansion:
% p4 help typemap
The reason I don't like the expansion is that after submitting a file with
keyword expansion turned on, the local file is updated with the new expanded
keywords. The updating of the file changes the modified date to the time of
submission. If you are using p4 to store source files, the dependency analysis
will cause files dependent upon the file to trigger during the next build. If
I'm submitting a file, its because I've already done a build and tested the
The build is unnecessary (since the only thing in the file that changed is an
rcs keyword in a comment) and can be expensive.
>-- On Thu, Aug 22, 2002 at 10:00:17AM -0700, % wrote:
> I have a question about perforce keyword expansion.
> Why is it not always on as with RCS? It seems an incredibly useful and basic
> feature, and to have to toggle it on seems silly.
> Is there a performance hit with it?
> Karl Elvis MacRae VLSI CAD Apple Computer kmac at apple.com
> perforce-user mailing list - perforce-user at perforce.com
Michael O'Brien Tools
Pixar mobrien at pixar.com
PETE: Who elected you leader of this outfit?
ULYSSES: Well Pete, I figured it should be the one with the capacity for
More information about the perforce-user