comparison tests/test-issue619.t @ 31259:6a9d0d24fdb4

context: move _manifest from committablectx to workingctx committablectx had a _manifest implementation that was only used by the derived workingctx class. The other derived versions, like memctx and metadataonlyctx, define their own _manifest functions. Let's move the function down to workingctx, and let's break it into two parts, the _manifest part that reads from self._status, and the part that actually builds the new manifest. This separation will let us reuse the builder code in a future patch to answer _buildstatus with varying status inputs, since workingctx has special behavior for _buildstatus that the other ctx's don't have.
author Durham Goode <durham@fb.com>
date Tue, 07 Mar 2017 17:56:30 -0800
parents 2fc86d92c4a9
children 55c6ebd11cb9
comparison
equal deleted inserted replaced
31258:c414e339e7af 31259:6a9d0d24fdb4