sapling/tests/test-amend-noinhibit.t
Saurabh Singh 6317ba0ca2 amend: replace with the fbamend extension
Summary:
The functionality we care about is provided by the `fbamend`
extension. Therefore, lets replace the `amend` extension with the `fbamend`
extension.

Reviewed By: farnz

Differential Revision: D10320739

fbshipit-source-id: 5700d39f488777fcc4033f60ce0a51cda15ef2ad
2018-10-11 06:59:23 -07:00

20 lines
601 B
Perl

Set up test environment.
$ cat >> $HGRCPATH << EOF
> [extensions]
> amend=
> 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
hint[amend-restack]: descendants of c05912b45f80 are left behind - use 'hg restack' to rebase them
hint[hint-ack]: use 'hg hint --ack amend-restack' to silence these hints
$ hg rebase --restack
rebasing 2:* "r2" (glob)