Mercurial > evolve
diff tests/test-evolve-effectflags.t @ 2448:66f05d5f4769
effectflag: detect meta changes
Add the detection of known meta field changes. The known meta
fields that we check are:
- user
- date
- branch
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 19 May 2017 19:48:44 +0200 |
parents | 631ccf45f0bb |
children | 0b05142117d2 |
line wrap: on
line diff
--- a/tests/test-evolve-effectflags.t Fri May 19 19:43:06 2017 +0200 +++ b/tests/test-evolve-effectflags.t Fri May 19 19:48:44 2017 +0200 @@ -35,3 +35,20 @@ x 471f378eab4c (1) A0 rewritten by test (*) as fdf9bde5129a (glob) + +amend touching the metadata only +-------------------------------- + + $ mkcommit B0 + $ hg amend -u "bob <bob@bob.com>" + +check result + + $ hg debugobsolete --rev . + ef4a313b1e0ade55718395d80e6b88c5ccd875eb 5485c92d34330dac9d7a63dc07e1e3373835b964 0 (*) {'ef1': '2', 'user': 'test'} (glob) + $ hg obslog . + @ 5485c92d3433 (4) B0 + | + x ef4a313b1e0a (3) B0 + rewritten by test (*) as 5485c92d3433 (glob) +