Skip to content
Snippets Groups Projects
Commit 13da36d7 authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

scmutil: add option to register summary callbacks as transaction validators

We have a list of summary callbacks which are run after the transaction is
closed to show what has changed and what not. This patch makes it possible to
register those callbacks as transaction validators so that we can show summary
before committing the transaction and prompt user to accept the changes.

The goal of this is to implement `pull --confirm`.

Differential Revision: https://phab.mercurial-scm.org/D8199
parent 36f08ae8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment