[p4] cvs tags?

Sweeney, Tony sweeney at ea.com
Wed Jun 14 03:06:42 PDT 2006


I think Mike was after something a bit more general purpose.  The
indent(1) program that he mentions is a C prettyprinter, and can be used
to enforce a given code formatting convention.  The way to do this is
with a change-content submit trigger that checks to see if the file is C
source, and if so, gussy it up before it gets submitted.

http://www.perforce.com/perforce/doc.052/manuals/p4sag/06_scripting.html
#1057726

Tony.

quis custodiet ipsos custodes -- Juvenal VI, 347-8 

> -----Original Message-----
> From: perforce-user-bounces at perforce.com [mailto:perforce-user-
> bounces at perforce.com] On Behalf Of Andy Finkenstadt
> Sent: 13 June 2006 18:18
> To: Mike
> Cc: perforce-user at perforce.com
> Subject: Re: [p4] cvs tags?
> 
> There are.  The technical is called "keyword expansion" by perforce.
> You'll want to manage their default state upon file creation(add) with
> the 'p4 typemap' command, override them during add with "p4 add -t
+k",
> change them in place with "p4 reopen -t +k", and read the
documentation
> on them at
> http://www.perforce.com/perforce/doc.051/manuals/cmdref/o.ftypes.html
.
> 
> andy
> 
> 
> Mike wrote:
> > I use tags a lot with cvs to manage servers. I do not manage
> > development with cvs tags. Are there tags in perforce?
> >
> > Mike
> >
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user



More information about the perforce-user mailing list