Mercurial > hg
diff tests/test-dirstate-race.t @ 32812:add613cddcb6
workingctx: factor out post-status dirstate fixup
We want to allow extensions to be able to add code to run inside the wlock.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 12 Jun 2017 13:54:59 -0700 |
parents | f40eec7af044 |
children | 15e85dded933 |
line wrap: on
line diff
--- a/tests/test-dirstate-race.t Tue Jun 13 10:02:34 2017 -0400 +++ b/tests/test-dirstate-race.t Mon Jun 12 13:54:59 2017 -0700 @@ -101,7 +101,7 @@ Test that dirstate changes aren't written out at the end of "hg status", if .hg/dirstate is already changed simultaneously before -acquisition of wlock in workingctx._checklookup(). +acquisition of wlock in workingctx._poststatusfixup(). This avoidance is important to keep consistency of dirstate in race condition (see issue5584 for detail).