https://bz.mercurial-scm.org/show_bug.cgi?id=5434

            Bug ID: 5434
           Summary: graphlog should not allow users to use a single
                    character for the an entire edge
           Product: Mercurial
           Version: default branch
          Hardware: All
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@selenic.com
          Reporter: arcppzju+hg...@gmail.com
                CC: mercurial-de...@selenic.com

Using drawdag.py to create a repo:

  G H
  | |
  D F
  | |
  C E
  |/
  B
  |
  A

Run hg log -r B+A+C+D+G+F -G -T '{desc}' --config
experimental.graphstyle.grandparent=:

  o  G
  |
  | o  F
  | :
  o :  D
  | :
  o :  C
  :/
  o  B
  |
  o  A

The edge between C and B should be "|" instead of ":" because C is a direct
child of B.

This is actually because two edges share a same path and their style cannot be
consistent. I think a clean solution would be to disallow changing the style
for the whole edge, instead, allow *insert* some characters for the grand
parent edge.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to