[p4] Is there a better "p4 blame" command?

Jamison, Shawn sjamison at ciena.com
Thu Apr 12 12:35:02 PDT 2007


I had a similar issue with some hybrid Unix/windows users. They edit,
build and release on Unix/Linux.  I showed them the P4Visual client Time
Lapse View (similar to blame) and Revision Graph and they come around
pretty quickly to use the windows client almost exclusively.  

I'm not sure if the Linux/Unix version of the P4Visual client has all
the same features so this post may be of no use to you.

-Shawn J>
Perforce Admin

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Roy Smith
Sent: Thursday, April 12, 2007 2:40 PM
To: Peter Stephenson
Cc: perforce-user at perforce.com
Subject: Re: [p4] Is there a better "p4 blame" command?

Yes, I've got that already.  Thanks for writing it.  It's mostly what I
need.  Actually, I personally use the emacs integration, but we've got
some luddites here who are still clinging to CVS and looking for excuses
not to switch to P4.  The latest excuse is that there's no command-line
version of "cvs blame".


-------------------
Roy Smith <smith_roy at emc.com>
Software Guy, EMC Common Management Group
44 South Broadway, 7th floor
White Plains, NY 10601
(914) 580-3427
AIM: roysmith649

On Apr 12, 2007, at 5:59 AM, Peter Stephenson wrote:

> Roy Smith <smith_roy at emc.com> wrote:
>> In CVS, you used to be able to do "cvs blame" and get a nice line-by-

>> line annotated listing of who most recently broke each line in a file

>> :-)  Is there a way to do that with the p4 command line client?
>
> Here's a Perl script (doesn't need the Perl API) which I wrote some 
> while ago...  I abandoned it in favour of "p4 annotate -c" and the 
> Emacs function you mentioned, so it could do with some work.  In 
> particular it doesn't line
> up the columns, and there are only a limited number of fields.   
> However, it
> doesn't look like I'm going to be doing anything to it any time soon, 
> and it's quite short, so I'll just attach what I've got.
>
> -- 
> Peter Stephenson <pws at csr.com>                  Software Engineer
> CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
> Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223  
> 692070
>
>
> To access the latest news from CSR copy this link into a web
> browser:  http://www.csr.com/email_sig.php
>
> To get further information regarding CSR, please visit our Investor 
> Relations page at http://ir.csr.com/csr/about/overview
> <p4annotate>
> _______________________________________________
> 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



More information about the perforce-user mailing list