mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
b27a46c987
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
27 lines
560 B
Perl
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=
|