[PATCH 3 of 5] workingctx: add a way for extensions to run code at status fixup time
sid at less-broken.com
Mon Jun 12 18:57:57 EDT 2017
On 6/12/17 3:56 PM, Sean Farley wrote:
> The series' direction (adding a callback within a lock) looks good to
> me. My only feedback is that I'm currently ripping out dirstate from
> localrepo and putting it into the workingctx itself. Can these callbacks
> live in dirstate.py? Or maybe even workingctx?
I'm afraid not, because just like the workingctx, the dirstate isn't
unique per-repo. The localrepo is the only place this state can live.
More information about the Mercurial-devel