# # # patch "monotone.py" # from [335bf295f7332b6bc26baa4bbf66e394a2b58c1d] # to [a2737846c0f3bc280d57a805d5f8f654ee5fd2e8] # ============================================================ --- monotone.py 335bf295f7332b6bc26baa4bbf66e394a2b58c1d +++ monotone.py a2737846c0f3bc280d57a805d5f8f654ee5fd2e8 @@ -144,9 +144,7 @@ if len(missing) == 0: rv['cached'] = True return rv - contents = """ - graph ancestry { - """ + contents = "digraph ancestry {" revisions = sets.Set() for attrs in self.ancestry(id, limit): if not attrs.has_key("Revision") or not attrs.has_key("Ancestor"): @@ -156,7 +154,7 @@ for ancestor in attrs['Ancestor']: if len(ancestor) == 0: continue revisions.add(ancestor) - contents += '"%s"--"%s"\n' % (revision, ancestor) + contents += '"%s"<-"%s"\n' % (revision, ancestor) for revision in revisions: contents += '"%s" [fontsize=8,shape=square,href="revision.psp?id=%s"]\n' % (revision, urllib.quote(revision)) contents += "}\n"