bigfiles
Andrei Vermel
avermel at mail.ru
Sun Oct 4 14:37:14 CDT 2009
Chad Dombrova wrote:
> Hello,
> I have been looking at your bigfiles extension for mercurial, I think
> it has a lot of potential. However, I was wondering if it be possible
> to make it work more transparently, so that you can work with big
> files in the same way as with any other file, and the proper handling
> of normal versus big is handled automatically. For example, would it
> be possible to establish a size threshold above which a file is
> automatically controlled by bigfiles? this would allow you to remove
> the 'bref' step and would allow the extension to be used transparently
> from any gui, just by calling the normal 'add' and 'commit' commands.
>
> what do you think?
>
> -chad
It does use the size threshold at the moment already (10Mb, same as the
hg's too big warning threshold).
To make it work like you describe I believe it should be enough to call
'hg bref' in a pre-commit hook.
This idea makes sense, I'll implement it inside the extension when I get
time.
Andrei
More information about the Mercurial
mailing list