Sorting by branch

Issue #4845 open
David Hollman
created an issue

Right now THG in the Workbench revision history panel seems to sort all the entries by the order they have in the topology of HG history.

However this results in strange cases where consecutive operations on the same branch are not shown consecutively.

In the attachment I show one example of this, where the yellow changesets interrupt the flow in the adjacent blue branch. Ideally all the blue changesets would be shown without interruption.

This would make following / comprehending the branch / merge history a lot easier in many cases, IMO. Even in simple cases right now it is quite hard to follow visually.

Comments (3)

  1. Yuya Nishihara
    • changed status to open

    sort all the entries by the order they have in the topology of HG history.

    No. It's in revision order.

    Can you try the topological sort?

    [experimental]
    graph-group-branches = True
    
  2. David Hollman reporter

    Thanks "revision order" is what I was trying to describe, that's a much easier way to say it! :)

    I tried the group branches option but I'm not sure if it had any effect. At least, it doesn't catch all cases if it does. Attached one example.

    Capture.PNG

  3. Log in to comment