Mercurial > public > mercurial-scm > hg-stable
diff mercurial/exchangev2.py @ 39652:399ddd3227a4
wireprotov2: add TODOs around extending changesetdata fields
Extensions will inevitably want to extend the set of changeset
data/fields that can be requested. We'll need to implement support
for extending this in the future. Add some TODOs to track that.
Differential Revision: https://phab.mercurial-scm.org/D4487
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 22 Aug 2018 14:51:11 -0700 |
parents | 349482d726ee |
children | d292328e0143 |
line wrap: on
line diff
--- a/mercurial/exchangev2.py Wed Aug 29 17:03:19 2018 -0700 +++ b/mercurial/exchangev2.py Wed Aug 22 14:51:11 2018 -0700 @@ -147,6 +147,9 @@ for mark in cset.get(b'bookmarks', []): remotebookmarks[mark] = node + # TODO add mechanism for extensions to examine records so they + # can siphon off custom data fields. + # Some entries might only be metadata only updates. if b'revisionsize' not in cset: continue