2017-04-20 01:52:45 +03:00
|
|
|
Set up test environment.
|
|
|
|
$ cat >> $HGRCPATH << EOF
|
|
|
|
> [extensions]
|
2018-01-09 14:06:09 +03:00
|
|
|
> fbamend=
|
2017-04-20 01:52:45 +03:00
|
|
|
> 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
|
2017-12-28 09:54:03 +03:00
|
|
|
$ hg amend -m "Amended" --no-rebase
|
2018-04-07 10:36:52 +03:00
|
|
|
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
|
2017-04-20 01:52:45 +03:00
|
|
|
$ hg rebase --restack
|
|
|
|
rebasing 2:* "r2" (glob)
|