mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +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
32 lines
762 B
Perl
32 lines
762 B
Perl
Skip test if remotenames not present
|
|
$ . $TESTDIR/require-ext.sh remotenames
|
|
|
|
Set up extensions (order is important here, we must test tweakdefaults loading last)
|
|
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> rebase=
|
|
> remotenames=
|
|
> tweakdefaults=
|
|
> EOF
|
|
|
|
Run test
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ touch a
|
|
$ hg commit -Aqm a
|
|
$ touch b
|
|
$ hg commit -Aqm b
|
|
$ hg bookmark AB
|
|
$ hg up ".^"
|
|
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
|
|
(leaving bookmark AB)
|
|
(hint: use 'hg prev' to move to the parent changeset)
|
|
$ touch c
|
|
$ hg commit -Aqm c
|
|
$ hg bookmark C -t AB
|
|
$ hg rebase
|
|
rebasing 2:d5e255ef74f8 "c" (C tip)
|
|
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d5e255ef74f8-7d2cc323-rebase.hg (glob)
|
|
|
|
|