[RFC] kbfiles: an extension to track binary files with less wasted bandwidth

Benjamin Pollack benjamin at bitquabit.com
Wed Oct 5 17:03:51 CDT 2011


On Sun, 02 Oct 2011 15:40:23 -0400, Matt Mackall <mpm at selenic.com> wrote:

> On Sat, 2011-10-01 at 22:35 -0400, Greg Ward wrote:
>> Here's the behaviour I want:
>>
>>   if '.hglf/' is a dir:
>>     use that as the largefiles standin prefix
>>   elif '.hgbfiles' is a dir:
>>     use that as the largefiles standin prefix
>>   elif '.kbf' is a dir:
>>     use that as the largefiles standin prefix
>>   else:
>>     no largefiles in this changeset: fallback to 'hglf' in case
>>     someone adds one
>
> I tend to agree with this approach. Largefiles should be
> backwards-compatible with the installed base if possible.
>

All right.  I'll submit a patch with this logic.

--Benjamin


More information about the Mercurial-devel mailing list