Mercurial > evolve
diff tests/test-stabilize-result.t @ 1735:8f902ec9ed9a stable
bump: copy parent manifest before editting it
Previously, the bump code would access the previous manifest, then edit that
dictionary data structure. Because the manifest was in the mancache at that
time, those edits were persisted to other readers who asked for that manifest.
This caused commits being made during bump to have the wrong file parents in
many situations (hence why the tests need updating).
author | Durham Goode <durham@fb.com> |
---|---|
date | Mon, 12 Sep 2016 10:41:00 -0700 |
parents | 7463f5880ce9 |
children | 5383671ef612 |
line wrap: on
line diff
--- a/tests/test-stabilize-result.t Mon Aug 01 22:42:38 2016 +0200 +++ b/tests/test-stabilize-result.t Mon Sep 12 10:41:00 2016 -0700 @@ -176,10 +176,10 @@ perform evolve? [Ny] y rebasing to destination parent: 66719795a494 computing new diff - committed as (a7cabd7bd9c2|671b9d7eeaec) (re) - working directory is now at (a7cabd7bd9c2|671b9d7eeaec) (re) + committed as c2c1151aa854 + working directory is now at c2c1151aa854 $ glog - @ 14:(a7cabd7bd9c2|671b9d7eeaec)@default\(draft\) bk:\[\] bumped update to 1cf0aacfd363: (re) + @ 14:c2c1151aa854@default(draft) bk:[] bumped update to 1cf0aacfd363: | | o 9:7bc2f5967f5e@default(draft) bk:[] add c | |