[p4] Quick p4 question

Stephen Vance steve at vance.com
Fri Jan 4 15:57:01 PST 2008


Using some undoc functionality:

p4 files #add #edit #branch #integrate #import

Omit that last one if you're sure you don't have it. It's rare if you 
haven't converted from an RCS-like system. Escape the '#' symbols if 
your shell requires. Prefix each one with a path if you need to restrict it.

Steve

Gross, Steve wrote:
> I would like to get p4 to produce a list of depot files matching a
> filemask that exist (are NOT deleted) as of head revision. That is,
> let's say the depot at T0 looks like this:
>
> T0
>
> //depot/foo#1
> //depot/bar#1
>
> Then I delete foo:
>
> //depot/foo#2 - deleted!
> //depot/bar#1
>
> I want to produce a list that shows me the NON-deleted file(s):
>   //depot/bar#1
>
> Is there an easy way to do this?
>
> Thanks,
> --Steve
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   

-- 
Stephen Vance
www.vance.com


More information about the perforce-user mailing list