2GB limit

Maritza Mendez martitzam at gmail.com
Sat Oct 2 23:48:36 BST 2010


I like that idea.  I will go read the dev docs and look for an add
hook and a pre-commit hook.  Could be the simplest plugin ever.

~M


On 10/2/10, Marius Kruger <amanic at gmail.com> wrote:
> On 2 October 2010 21:49, Maritza Mendez <martitzam at gmail.com> wrote:
>> 3. How hard would it be to add a bzr ignore rule that is based on filesize
>> instead of or combined with filename patterns?  My biggest fear is that
>> someone (like me) will accidentally try to commit a file which we know bzr
>> cannot handle and then having to un-do the damage to the repo, hopefully
>> before any more commits are made.  Being able to block-by-default commits
>> of
>> files exceeding a configurable size would help protect the integrity of
>> the
>> repo and help me keep my developers productive.  I realize this is
>> dangerous
>> (missing content) but not as dangerous as downtime.  As Philip Peitsch
>> mentioned yesterday (what a coincidence!) explaining downtime to
>> management
>> is not pleasing.
>
> I can imagine that this sort of thing may be possible in a plugin:
> warn/fail when you try to commit huge files.
>
> --
> <>< Marius ><>
>



More information about the bazaar mailing list