[p4] graphical representation of branches?

Jeff A. Bowles jab at pobox.com
Tue Sep 26 12:04:20 PDT 2006


On 9/26/06, Jay Glanville <Jay.Glanville at naturalconvergence.com> wrote:
> David, if I understand the "p4 -ztag integrated" command correctly, it's
> applied to individual files, correct?  Therefore, I need to find a file
> that exists in all branches in order to use it.

Not necessarily.  You might post-process the information to say "files
named  x/dir1/dir2/thing were integrated to y/dir1/dir2/thing means that
there is a relationship from x -> y."

It doesn't take much processing to build up a table of relationships, which
can be fed to a tool such as "Graphviz". The first draft will be convoluted
and dense, but you'll weed out the extraneous stuff (renames within the same
tree are boring) and end up with a good approach for your needs.

And you don't have to do any ugly graphical programming, at least not directly!

---
Jeff Bowles - jab at piccoloeng.com


More information about the perforce-user mailing list