[p4] Checkout timestamp
rickmacd at shaw.ca
Fri Oct 17 07:39:20 PDT 2008
Robert Cowham wrote:
>> Is it possible to find out what time a file was checked out?
>> The return values of opened and changelist don't seem to have
>> this value. I'd like to be able to provide this information
>> to a user who tries to check out a file that is currently checked out.
> If you really, really wanted to you could find this out from the server log
> file (if debugging -vserver=N on) - but is it worth it??
In the dark days of using SCCS I had a cron job that would make a list
of files that were open for edit for more than some number of weeks or
months. That was useful since SCCS locked files that were checked out
for edit. I've often wanted the same thing for Perforce. Of course, P4
doesn't lock files but it's still convenient to be reminded of such
things. Often people get distracted and open files fall in cracks. When
they're eventually noticed one doesn't always remember what was going on
at the time. A bit lame, I know...
More information about the perforce-user