This is an archive of the discontinued Mercurial Phabricator instance.

commit: factor out empty commit check to `basectx.isempty()`
ClosedPublic

Authored by mjacob on Jul 10 2020, 7:16 PM.

Details

Summary

This enables reuse in other places, e.g. those dealing with memctx.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

mjacob created this revision.Jul 10 2020, 7:16 PM
mjacob retitled this revision from commit: factor out empty commit check to `committablectx.isempty()` to commit: factor out empty commit check to `basectx.isempty()`.Jul 11 2020, 7:12 PM
mjacob updated this revision to Diff 21867.
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.