mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
026bd9f950
Summary: Done by the fix-revnum.py script. Reviewed By: singhsrb Differential Revision: D24173575 fbshipit-source-id: e4cf417be759f9898adfd4102984098474ab38a2
27 lines
577 B
Perl
27 lines
577 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 'desc(root)'
|
|
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
|