开发者

Is there a way to add a custom RCS keyword in Perforce?

开发者 https://www.devze.com 2023-01-06 01:01 出处:网络
Perforce supports various RCS keywords including $file$ and $version$.Is there a way to add a custom RCS keyword?

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 k开发者_StackOverfloweyword 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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号