svnversion-controlperforce

Equivalent of svn's blame for Perforce


Is there an equivalent of svn's blame for Perforce on the command line? p4 annotate doesn't display usernames -- only changeset numbers (without ancestor history!).

I currently have to track code back through ancestors and compare against the filelog, and there just has to be an easier way -- maybe a F/OSS utility?


Solution

  • Try taking a look at a couple of tools that I think could get you most of what you need:

    1) p4pr Perl script by Bob Sidebotham and Jonathan Kamens.

    2) Emacs Perforce interface has a command 'p4-print-with-rev-history' (bound to `C-x p V').