[p4] list of files affected by a job

Jeff A. Bowles jab at pobox.com
Thu Sep 14 14:28:53 PDT 2006


How about "p4 files //depot/main/... at 2006/08/06, at now"?

Or "p4 files //depot/main/... at 2006/08/06,#head"?

   -Jeff Bowles

ps. For the first request (jobs), I'd do it as two commands: "p4 fixes -j
jobname" (to get changelist numbers) and then "p4 describe" (or "p4 files")
to get the filenames/revisions.

pps. Remember that all dates given without time-of-day are interpreted on
the server, as "just immediately past midnight on the morning of that date,
server time."

On 9/14/06, Zarnes, Todd <Todd_Zarnes at intuit.com> wrote:
>
> How about a statement that finds all files changed on a branch //depot
> client/main/... since a date 2006/08/06?
>
> I can sync to the date in my client and diff 2 folders to see the
> changes and copy / paste out the results to an editor.  But command
> output would be nice.
>
> Todd  Zarnes
> Intuit Eclipse SCM
>
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Zarnes, Todd
> Sent: Thursday, September 14, 2006 6:38 AM
> To: moose61993-p4 at yahoo.com; perforce-user at perforce.com
> Subject: Re: [p4] list of files affected by a job
>
> p4sql -s "SELECT file from files,fixes WHERE fixes.change=files.change
> AND fixes.job='job001283';
>
> Needs to have p4report installed and then run this from a DOS prompt.
>
> Todd  Zarnes
> Intuit Eclipse SCM
>
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of
> moose61993-p4 at yahoo.com
> Sent: Wednesday, September 13, 2006 10:08 PM
> To: perforce-user at perforce.com
> Subject: [p4] list of files affected by a job
>
> Perforce gurus,
>
> Anyone know of an easy way (or an existing
> script) to get a list of all files that a particular job has affected?
> Wanted to make sure I wasn't reinventing the wheel if I wrote such a
> script.
>
> Brian
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
> _______________________________________________
> 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