The addgroup() interface currently doesn't allow the caller to keep
track of duplicated nodes except by looking at the returned node list.
Add an optional second callback for this purpose and change the return
type to a boolean. This allows follow-up changes to use more efficient
storage for the node list in places that are memory-sensitive.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGa5206e71c536: revlog: extend addgroup() with callback for duplicates
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Like I just commented about on D9208, I think the consensus is that we want API changes documented in the release notes, so please send a follow-up with that.