[p4] Is there a better "p4 blame" command?
Roy Smith
smith_roy at emc.com
Thu Apr 12 11:40:10 PDT 2007
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
More information about the perforce-user
mailing list