2019-12-10 02:24:31 +03:00
|
|
|
#chg-compatible
|
|
|
|
|
2020-01-20 13:42:49 +03:00
|
|
|
$ enable amend rebase tweakdefaults
|
2020-06-11 03:33:43 +03:00
|
|
|
$ configure mutation-norecord
|
2016-04-25 18:12:10 +03:00
|
|
|
|
|
|
|
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
|
2020-10-08 21:06:31 +03:00
|
|
|
$ hg up 'desc(root)'
|
2016-04-25 18:12:10 +03:00
|
|
|
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
|
2019-12-18 00:45:17 +03:00
|
|
|
rebasing 1e9a3c00cbe9 "b"
|
2016-04-25 18:12:10 +03:00
|
|
|
$ hg debugobsolete
|