Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does perforce have $Id$ keyword?

Tags:

perforce

We are using perforce in our project. I was wondering if there is a mechanism that could be used to embed an expandable keyword that is changed after each commit, like in svn and git.

like image 446
user3111525 Avatar asked Nov 20 '25 01:11

user3111525


1 Answers

Yes, Perforce supports this for files that have the +k filetype set. See p4 help filetypes on how to set them. The supported RCS keywords are (straight from the docs):

$Author$
$Change$
$Date$
$DateTime$
$File$
$Header$
$Id$
$Revision$

Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!