Mercurial > hg-stable
comparison tests/test-push-hook-lock.t @ 21601:7ff01befc7ec
bundle2: track life cycle of parts
We introduce a ``_generated`` attribute on parts. Coming changesets will
make it easier to update a part's contents after its creation. We need a way to track
if the part is still open to modification or if it is currently being generated
and should not be touched anymore.
As a bonus, we can now detect and crash if someone manages to write bogus code
to get a part generated twice.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 22 May 2014 11:14:02 -0700 |
parents | 28e2e3804f2e |
children | 4e0b696a1cb3 |
comparison
equal
deleted
inserted
replaced
21600:5e08f3b65510 | 21601:7ff01befc7ec |
---|