[p4] Determining which files a user has checked in between two dates
David Weintraub
qazwart at gmail.com
Thu May 3 12:36:50 PDT 2007
Try this:
$ p4 sync ..."@>=2007/04/30,@<=2007/05/01"
Note you need the quotes around it because you don't want the ">" and
"<" to be picked up as file redirections.
See "p4 help revisions" and "p4 help undoc" for more information.
On 5/1/07, Mark Allender <marka at volition-inc.com> wrote:
>
> I'd like to be able to script retrieval of files that have only changed
> between specific times from the depot. Additionally, I'd like to be
> able to do it on a per user basis. What I have is a situation where we
> have a time/date (we'll call T) which we'd like users to sync to. Then
> we'd like to sync only their changes since that time T.
>
> I could do something like
>
> p4 changes -u user //depot/... at T, at new_time
>
> And then grab the changelist number and do
>
> p4 sync //... at changelistnum, at changelistnum
>
> (I think that's right).
>
> I was hoping there might be something that would be, um, more "windows"
> friendly since I don't have the luxury (at least today) of having handy
> tools like grep, sed, and awk on the 200+ development machines that we
> have here.
>
> I've hit a wall here and am wondering if perhaps I'm missing something
> obvious. Thanks in advance.
>
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
--
--
David Weintraub
qazwart at gmail.com
More information about the perforce-user
mailing list