Mercurial > evolve
diff tests/test-evolve-effectflags.t @ 2522:a1cc2a0b9f6f
effetflag: detect other meta (extra) changes
Check other changeset meta other than branch and *_source and if there is a
change, set the METACHANGED effect flag.
Add a test for this scenario with a topic change.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 30 May 2017 11:06:24 +0200 |
parents | 5fb5d096348c |
children | 07b9fcf8b6d3 |
line wrap: on
line diff
--- a/tests/test-evolve-effectflags.t Tue May 30 17:32:39 2017 +0200 +++ b/tests/test-evolve-effectflags.t Tue May 30 11:06:24 2017 +0200 @@ -199,3 +199,20 @@ x b57fed8d8322 (20) H1 rewritten(parent) by test (*) as e509e2eb3df5 (glob) +amend closing the branch should be detected as meta change +---------------------------------------------------------- + + $ hg branch closedbranch + marked working directory as branch closedbranch + $ mkcommit G0 + $ mkcommit I0 + $ hg commit --amend --close-branch + +check result + + $ hg obslog . + @ 12c6238b5e37 (26) I0 + | + x 2f599e54c1c6 (24) I0 + rewritten(meta) by test (*) as 12c6238b5e37 (glob) +