External hooks are skipped here as the environment often has a size
limit in the low MBs and that can easily be reached by larger
transactions.
Details
Details
- Reviewers
marmoute - Group Reviewers
hg-reviewers - Commits
- rHG09da5cf44772: hooks: provide access to transaction changes for internal hooks
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
This is part of a change discussed on IRC to make hooks more useful, e.g. providing better access to which changesets have been obsoleted or making it possible to avoid per changeset hooks with *-phase with a follow-up option to always compute the phase markers. I have some small potential concerns about the environmental size this can have for external hooks, so I'm also open for the idea of providing this argument only for internal hooks.
Comment Actions
Yeah, I don't think we can blindy pass it to shell hooks because ENVIRON might explode. Lets start with providing this for python hook only, and we can devise better way to do this for shell hook (maybe a files with content to parse ?)