Extending Perforce to use a custom content diff tool for certain file extensions
Posted
by Fraser Graham
on Stack Overflow
See other posts from Stack Overflow
or by Fraser Graham
Published on 2010-03-24T19:21:14Z
Indexed on
2010/03/24
19:23 UTC
Read the original article
Hit count: 602
I have various custom binary files stored in perforce and for many of the file types I have built a custom diff tool to show the content creators a diff of the actual changes to the file.
E.g. If the file holds simple key value pairs as a compressed binary blob the diff tool would load each version into an in memory format and generate a list of additions, deletions and edits to the file presented in a nice clean report view.
Much like the built in image diff tool in P4V i'd like to be able to use my own diff tool for certain file extensions within my depot and allow the users to use the existing P4V interface to pick revisions to diff between and examine history.
So, I am aware you can write add-ins to P4V but I can't find any documentation on it and I'd like to know if this kind of extension functionality is available in P4V and how to use it?
© Stack Overflow or respective owner