[PATCH 1 of 3] lfs: always exclude '.hg*' text files

Yuya Nishihara yuya at tcha.org
Tue Jan 23 07:07:47 EST 2018


On Mon, 22 Jan 2018 15:12:57 -0500, Augie Fackler wrote:
> > On Jan 20, 2018, at 02:43, Jun Wu <quark at fb.com> wrote:
> > Excerpts from Yuya Nishihara's message of 2018-01-15 21:56:49 +0900:
> >> Seems fine. Queued, thanks.
> >> 
> >> CC-ed Jun since I'm not pretty sure if this is considered a nice feature.
> > 
> > It is considered as a nice feature. For example:
> > 
> >  - If the LFS server hostname expires, it's possible to "revive" dead links
> >    without rewriting hashes.
> >  - It's possible to convert old normal large files to LFS, to save server's
> >    disk space, without triggering integrity check errors client-side.
> > 
> > IIRC, mpm said lfs has a better design than largefiles. I *guess* the hash
> > preserving behavior is one of the things that make it better.
> 
> IMO that's a killer feature compared to largefiles.

Absolutely yes.

My original question was whether it makes sense to forcibly exclude .hg* files
(e.g. .hgtags) from lfs. That seems totally fine, but fewer "if"s might be
better on the other hand.


More information about the Mercurial-devel mailing list