I need more than just $Id:$

ChristianLudloffuser.perforce.maillist at sandpile.org ChristianLudloffuser.perforce.maillist at sandpile.org
Sun Jun 14 20:12:39 PDT 1998


Hello Matthew.Rice at ftlsol.com,

>> Uhm, I am not the smartest Perforce user, but I think "p4 have" only gives
>> me the file name and the current revision. How many other steps would have
>> to be taken to find the date, time, user, and change number?
> I have an example file called LSM.  For the date, user (and client) and
> change number use:
>   p4 changes -m 1 LSM
> which gave:
>   Change 189 on 1998/05/05 by matt at hudson 'Final changes for 0.05 release '

Yes. But one would have to grab that line, split it into components, and
then use the info. Which requires something external to Perforce. Native
support would be better, IMO.

> As for the time of the change, as far as I know you'll have to go
> right to the depot file for that (which may not be convenient).

Once you know the change number, you can get a time with a "p4 describe"
command. Again, you would have to parse the output.

- --
Christian Ludloff      http://www.sandpile.org/   Interested in x86 chips?
ludloff at sandpile.org    ftp://ftp.sandpile.org/   Go and visit my website!

Speaking for myself.   Trademarks are property of their respective owners.





More information about the perforce-user mailing list