[p4] Determining which files a user has checked in between two dates

Jeff A. Bowles jab at pobox.com
Thu May 3 12:01:49 PDT 2007


"What he said."

I would use the newer label spec feature, so that you could say
"the label project1_build96_Mar15 is //depot/main/... up to change
12381". It's a small amount of programming (the "Revision:" field
and the "View:" section of the label spec - perhaps 10-12 lines of
Unix shell script at most) and has very low database storage overhead
compared to using "p4 labelsync" for this situation.

"Normal-folk" remember names like project1_build96_Mar15 a lot more
than they remember "main up to 12381."

(Of course, all important labels are "locked" and perhaps even
owned by a system id, right?)

   -Jeff Bowles
   Perforce Consulting Partner

On 5/3/07, Geir A. Myrestrand <geir.myrestrand at falconstor.com> wrote:
> I would recommend that you rather label your builds, then you can easily
> generate a list of changes between the two labels.
>
> I used this approach for an automated change log. This also makes it
> trivial to reproduce a build, as you can just sync to that label. It
> also makes it easier for whoever is going to debug an issue in the
> product if they easily can find out what source file revisions went into
> a particular build. An approach is to use a label name consisting of the
> product name, version and build number. Of course, if you insist on
> using a date then you can create a label name using the date as the name
> (but include the time if you may run more than one build per day).
>
>
> --
>
> Geir A. Myrestrand
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>


-- 
---
Jeff Bowles - jab at piccoloeng.com


More information about the perforce-user mailing list