3 messages in com.perforce.perforce-user[p4] Tool for searching for a change
FromSent OnAttachments
David Genest24 Sep 2002 08:06 
Steve Smythe24 Sep 2002 10:39 
David Genest24 Sep 2002 10:52 
Subject:[p4] Tool for searching for a change
From:David Genest (dgen@ubisoft.qc.ca)
Date:09/24/2002 10:52:17 AM
List:com.perforce.perforce-user

I have tried the perl script and it effectively solves my search problem. This is a nice and practical script.

It would be very interesting that the output list the lines deleted in which revision. But what is there is sufficient for my immediate needs.

Thanks!

David.

-----Original Message----- From: Steve Smythe [mailto:ssmythe at docent.com] Sent: Tuesday 24 September 2002 13:40 To: 'David Genest'; 'perforce-user at perforce.com' Subject: RE: [p4] Tool for searching for a change

Hi David,

If you're looking for information about individual lines changed by folks, check out the p4pr utility available at:

http://www.perforce.com/perforce/loadsupp.html#util

As for deleted lines, that's going to take more work. Could you elaborate more on an example of what a typical search is for you?

-----Original Message----- From: David Genest [mailto:dgenest at ubisoft.qc.ca] Sent: Tuesday, September 24, 2002 8:07 AM To: perforce-user at perforce.com Subject: [p4] Tool for searching for a change

Hello,

I am frequently confronted to a search problem where I need to find at which revision a certain line of code was modified, appeared or disappeared. Does anyone know if a tool exists that does this query on a file history? If not, do you have some pointers on what I would have to do to accomplish such a task?

For now, I do a dichotomous search until I find the two files where that difference exists, but I know that this could be done faster by a script.

Thanks,