D4713: largefiles: automatically load largefiles extension when required (BC)

Yuya Nishihara yuya at tcha.org
Tue Oct 2 10:52:44 EDT 2018


>   > Can we add some warnings here? The largefiles is IMHO one of the most buggy
>   >  extensions, and loading it has a side effect (e.g. fsmonitor is disabled.)
>   >  It shouldn't be silently loaded into the process.
>   
>   
>   I get what you’re thinking, but maybe a debug message is better than a warning, even though it’s less visible. I’m concerned about every invocation being unnecessarily noisy now that .hg/hgrc isn’t updated,

I don't think a debug message would work because ordinary users will never
see it. Is that common to work on largefiles repo without enabling the
extension globally?

> and noise on stderr triggers that thgw.exe dialog when UAC is enabled.

Well, that's the bug of TortoiseHg if it doesn't redirect ui.ferr.

FWIW, I like the idea of enabling storage extensions automatically.


More information about the Mercurial-devel mailing list