sapling/eden/scm/tests/test-bindag.t
Muir Manders 1dcb7966fc tests: turn on eagerepo for a bunch of tests
Summary: These are the tests that passed after adding "$ eagerepo". I attempted to turn on eagerepo for all tests that didn't contain "$ eagerepo" or "configure modern".

Reviewed By: quark-zju

Differential Revision: D44445379

fbshipit-source-id: b283be6d5249f74e11a3205622961e457587e93b
2023-04-04 08:42:03 -07:00

76 lines
1015 B
Perl

#debugruntest-compatible
# coding=utf-8
# coding=utf-8
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
$ eagerepo
$ newrepo
$ hg debugdrawdag << 'EOS'
> J K
> |/|
> H I
> | |
> F G
> |/
> E
> |\
> A D
> |\|
> B C
> EOS
$ hg debugbindag -r '::A' -o a.dag
$ hg debugpreviewbindag a.dag
o 2
o 1
o 0
$ hg debugbindag -r '::J' -o j.dag
$ hg debugpreviewbindag j.dag
o 7
o 6
o 5
o 4
o 3
o 2
o 1
o 0
$ hg debugbindag -r 'all()' -o all.dag
$ hg debugpreviewbindag all.dag
o 10
o 9
o 8
o 7
o 6
o 5
o 4
o 3
o 2
o 1
o 0