graphlog: split the actual DAG grapher out into a separate method
This allows extensions like pbranch to use asciigraph() to graph dependencies
for patch branches, but could be used for basically any DAG.
#!/bin/sh# a test for issue586hg init acd aecho a > ahg ci -Amahg init ../bcd ../becho b > bhg ci -Ambhg pull -f ../ahg mergehg rm -f ahg ci -Amchg st -A