Mercurial > hg-stable
comparison tests/test-diff-reverse.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 | 5a69ea8d65b3 |
children | c586cb50872b |
comparison
equal
deleted
inserted
replaced
21600:5e08f3b65510 | 21601:7ff01befc7ec |
---|