sapling/eden/scm/tests/test-bookmark-strip.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

59 lines
1.1 KiB
Perl

#debugruntest-compatible
# 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.
# Test bookmark -D
$ eagerepo
$ setconfig devel.segmented-changelog-rev-compat=true
$ hg init book-D
$ cd book-D
$ cat >> .hg/hgrc << 'EOF'
> [extensions]
> amend=
> tweakdefaults=
> [experimental]
> evolution=all
> EOF
$ hg debugbuilddag '+4*2*2*2'
$ hg bookmark -i -r 1 master
$ hg bookmark -i -r 5 feature1
$ hg bookmark -i -r 6 feature2
$ hg log -G -T '{rev} {bookmarks}' -r 'all()'
o 6 feature2
o 5 feature1
o 4
o 3
o 2
o 1 master
o 0
$ hg bookmark -D feature1
hiding commit 2dc09a01254d "r3"
hiding commit 191de46dc8b9 "r5"
2 changesets hidden
removing bookmark 'feature1' (was at: 191de46dc8b9)
1 bookmark removed
$ hg log -G -T '{rev} {bookmarks}' -r 'all()' --hidden
o 6 feature2
o 5
o 4
o 3
o 2
o 1 master
o 0