Mercurial > hg-stable
comparison tests/test-glog-topological.t @ 23568:740ae54573a3
groupbranchiter: allow callers to select the first branch
Instead of just bootstrapping the algorithm with the first revision we
see, allow callers to pass revs that should be displayed first. All
branches are retained until we can display such revision.
Expected usage is to display the current working copy parent first.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 04 Sep 2014 19:28:17 +0200 |
parents | 1f080c9c6a35 |
children | 3ecbcffdeb0c |
comparison
equal
deleted
inserted
replaced
23567:1f080c9c6a35 | 23568:740ae54573a3 |
---|---|
76 | o 4 | 76 | o 4 |
77 |/ | 77 |/ |
78 o 0 | 78 o 0 |
79 | 79 |
80 | 80 |
81 (begin) from the other branch | |
82 | |
83 $ hg --config experimental.graph-topological=1 --config experimental.graph-topological.firstbranch=5 log -G | |
84 o 7 | |
85 | | |
86 o 6 | |
87 | | |
88 o 5 | |
89 | | |
90 o 4 | |
91 | | |
92 | o 8 | |
93 | | | |
94 | o 3 | |
95 | | | |
96 | o 2 | |
97 | | | |
98 | o 1 | |
99 |/ | |
100 o 0 | |
101 |