sapling/tests/test-fb-hgext-tweakdefaults-bookmarks.t
Jun Wu 5bb0e8fcf1 tests: remove require-ext.sh
Summary:
The script was used to check dependency on extenral extension. It's no longer
necessary since those "external" extensions are in repo now.

Reviewed By: DurhamG

Differential Revision: D13440398

fbshipit-source-id: 2f228ddee621b84a23f44748d843f29e1f05530e
2018-12-12 18:54:22 -08:00

27 lines
615 B
Perl

Set up
$ cat >> $HGRCPATH << EOF
> [experimental]
> evolution=all
> [extensions]
> amend=
> tweakdefaults=
> EOF
Test hg bookmark works with hidden commits
$ hg init repo1
$ cd repo1
$ touch a
$ hg commit -A a -m a
$ echo 1 >> a
$ hg commit a -m a1
$ hg prune da7a5140a611 -q
hint[strip-hide]: 'hg strip' may be deprecated in the future - use 'hg hide' instead
hint[hint-ack]: use 'hg hint --ack strip-hide' to silence these hints
$ hg bookmark b -r da7a5140a611 -q
Same test but with remotenames enabled
$ hg bookmark b2 -r da7a5140a611 -q --config extensions.remotenames=