shameless self-promoting website
»Rejourn root
Posted Tuesday, 14 November 2006 by Miklos
Tags: en hacking

darcs-deps is a small perl script that displays darcs patch dependencies graphically. i've created a test repo with the following changes:

  1. a simple shell script with lines foo and bar
  2. changed foo to foo2 (this should depend on #1)
  3. changed bar to bar2 (same)
  4. changed foo2 to foo3 (this should depend on #2 but not on #3)
  5. added a new file to the end of the file (should depend on #4)

perl darcs-deps | dot -Tps -o deps.eps convert deps.eps deps.jpg

here is the result: darcs graph

nice, isn't it? :)