[p4] cvs tags?

Mike mikee at mikee.ath.cx
Tue Jun 13 10:39:19 PDT 2006


On Tue, 13 Jun 2006, Sweeney, Tony might have said:

> [perforce at cgcode ~]$ p4 help tag
> 
>     tag -- Tag files with a label
> 
>     p4 tag [ -d -n ] -l label file[revRange] ...
> 
>         Tag associates the named label with the file revisions indicated
>         by the file argument.  Once file revisions are tagged with a
>         label, revision specifications of the form '@label' can be used
>         to refer to them.
> 
>         If the file argument does not include a revision specification,
>         the head revisions will be tagged.  See 'p4 help revisions'
>         for revision specification options.
> 
>         If the file argument includes a revision range specification,
>         only the files with revisions in that range will be tagged.
>         Files with more than one revision in the range will be tagged
>         at the highest revision.
> 
>         The -d deletes the association between the specified files and
>         the label, regardless of revision.
> 
>         The -n flag lists the files that would be tagged, but doesn't
>         actually do anything.
> 
>         Tag can be used with an existing label (see 'p4 help labels')
>         or with a new one.  An existing label may be used only by its
>         owner, but only if it is unlocked. (See 'p4 help label').
> 
>         To list the file revisions tagged with a label, use 'p4 files
>         @label'.
> 
> [perforce at cgcode ~]$
> 
> 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 Mike
> > Sent: 13 June 2006 17:44
> > To: perforce-user at perforce.com
> > Subject: [p4] cvs tags?
> > 
> > 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
> 

Wonderful, thanks. In cvs there is a way to run a command on a file
when that file is checked in (like running indent(1) on a *.c file).
Is there a way to do this in p4?

Mike


More information about the perforce-user mailing list