How to limit the file size to push/check-in
Isaac Jurado
diptongo at gmail.com
Tue Jan 6 21:04:19 CST 2009
On Tue, Jan 6, 2009 at 10:59 PM, John T <johnt888 at gmail.com> wrote:
> Hi -
>
> Currently I am using Mercurial 0.9.5, is any way to limit the size of
> file that users can push/check-in into repository? I can't find any
> proper commands with .hgrc file so far.
This sounds like a hook script might do the job:
http://hgbook.red-bean.com/hgbookch10.html#x14-19700010
The problem is that, due to DVCS nature, you can't use the precommit
hook (unless you're in a corporate environment where you can "suggest"
things to people). I believe you should use the incoming hook.
--
Isaac Jurado
http://www.krenel.net
"The noblest pleasure is the joy of understanding"
Leonardo da Vinci
More information about the Mercurial
mailing list