sapling/eden/scm/tests/test-fb-hgext-tweakdefaults-opawarecommands.t
Jun Wu 41dd58675e tests: migrate some tests to use mutation
Summary:
Change `configure evolution` to `configure mutation-norecord`.
The tests pass without further modification.

Reviewed By: sfilipco

Differential Revision: D21913598

fbshipit-source-id: 93ac6ce21fb87482a388508f151520f4e6f0bd31
2020-06-10 19:29:59 -07:00

27 lines
566 B
Perl

#chg-compatible
$ enable amend rebase tweakdefaults
$ configure mutation-norecord
Setup repo
$ hg init opawarerepo
$ cd opawarerepo
$ echo root > root && hg ci -Am root
adding root
Check amend metadata
$ echo a > a && hg ci -Am a
adding a
$ echo aa > a && hg amend
$ hg debugobsolete
Check rebase metadata
$ hg book -r . destination
$ hg up 0
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
$ echo b > b && hg ci -Am b
adding b
$ hg rebase -r . -d destination
rebasing 1e9a3c00cbe9 "b"
$ hg debugobsolete