sapling/tests/test-fb-hgext-fbamend-noinhibit.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

20 lines
516 B
Perl

Set up test environment.
$ cat >> $HGRCPATH << EOF
> [extensions]
> fbamend=
> rebase=
> [experimental]
> evolution = createmarkers
> EOF
$ hg init repo && cd repo
Perform restack without inhibit extension.
$ hg debugbuilddag -m +3
$ hg update 1
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg amend -m "Amended" --no-rebase
warning: the changeset's children were left behind
(use 'hg restack' to rebase them)
$ hg rebase --restack
rebasing 2:* "r2" (glob)