sapling/tests/test-fb-hgext-tweakdefaults-bookmarks.t
Kostia Balytskyi b27a46c987 fb-hgext: fix copied fb-hgext tests
Summary:
This is a big bulk of generally almost-obvious fixes to the moved tests. Mostly
these fixes have to do with correct importing of the actual extensions.

Depends on D6675329

Test Plan:
- ./run-tests.py fails less after this commit
- see further commits for more test fixes

Reviewers: #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D6675344
2018-01-09 03:06:09 -08:00

27 lines
560 B
Perl

Set up
$ cat >> $HGRCPATH << EOF
> [experimental]
> evolution=all
> [extensions]
> fbamend=
> 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
advice: 'hg hide' provides a better UI for hiding commits
$ hg bookmark b -r da7a5140a611 -q
Same test but with remotenames enabled
$ . $TESTDIR/require-ext.sh remotenames
$ hg bookmark b2 -r da7a5140a611 -q --config extensions.remotenames=