Mercurial > hg
comparison tests/test-glog.t @ 31552:d0b9e9803caf
graphlog: draw multiple edges towards null node (issue5440)
Before, edge (r, null) was processed only once by newparents. However what
we really need is just stripping the edge (null, null).
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 20 Mar 2017 11:50:55 +0900 |
parents | 0b8356705de6 |
children | 3eceeede26e9 |
comparison
equal
deleted
inserted
replaced
31551:f97e90fa5ad7 | 31552:d0b9e9803caf |
---|---|
3422 user: test | 3422 user: test |
3423 date: Thu Jan 01 00:00:00 1970 +0000 | 3423 date: Thu Jan 01 00:00:00 1970 +0000 |
3424 summary: 0 | 3424 summary: 0 |
3425 | 3425 |
3426 | 3426 |
3427 $ cd .. | |
3428 | |
3429 Multiple roots (issue5440): | |
3430 | |
3431 $ hg init multiroots | |
3432 $ cd multiroots | |
3433 $ cat <<EOF > .hg/hgrc | |
3434 > [ui] | |
3435 > logtemplate = '{rev} {desc}\n\n' | |
3436 > EOF | |
3437 | |
3438 $ touch foo | |
3439 $ hg ci -Aqm foo | |
3440 $ hg co -q null | |
3441 $ touch bar | |
3442 $ hg ci -Aqm bar | |
3443 | |
3444 $ hg log -Gr null: | |
3445 @ 1 bar | |
3446 | | |
3447 | o 0 foo | |
3448 |/ | |
3449 o -1 | |
3450 | |
3451 $ hg log -Gr null+0 | |
3452 o 0 foo | |
3453 | | |
3454 o -1 | |
3455 | |
3456 $ hg log -Gr null+1 | |
3457 @ 1 bar | |
3458 | | |
3459 o -1 | |
3460 | |
3461 | |
3462 $ cd .. |