2

Perforce supports various RCS keywords including $file$ and $version$. Is there a way to add a custom RCS keyword?

I want to create a custom keyword so that when the file is checked in, Perforce will replace the keyword with a custom string.

e.g.
from:    $customString$
to:      This is a custom message
TERACytE
  • 7,553
  • 13
  • 75
  • 111

1 Answers1

1

No, but I'd imagine its possible to write a trigger script to do this for you if you so wish.

http://www.perforce.com/perforce/doc.current/manuals/cmdref/triggers.html

Perhaps if you explain further what you are tring to achieve their might be some suggestions.

Toby Allen
  • 10,997
  • 11
  • 73
  • 124
  • Are you certain about this? I've only seen triggers used in the context of validating files as opposed to editing them. – Tim Clemons Feb 23 '11 at 07:26