Skip to content
Snippets Groups Projects
Commit 00e3f909 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

revlog: add support for a callback whenever revisions are added

A subsequent patch will add a feature that performs iterative
computation as changesets are added from a changegroup. To facilitate
this type of processing in a generic manner, we add a mechanism for
calling a function whenever a revision is added via revlog.addgroup().

There are potential performance concerns with this callback, as using it
will flush the revlog after every revision is added.
parent d68544b6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment