--- a/hgext/largefiles/__init__.py Tue Oct 18 16:40:59 2011 -0500
+++ b/hgext/largefiles/__init__.py Tue Oct 18 20:06:23 2011 -0400
@@ -56,12 +56,12 @@
In repositories that already have largefiles in them, any new file
over 10MB will automatically be added as a largefile. To change this
-threshhold, set ``largefiles.size`` in your Mercurial config file to
-the minimum size in megabytes to track as a largefile, or use the
+threshold, set ``largefiles.minsize`` in your Mercurial config file
+to the minimum size in megabytes to track as a largefile, or use the
--lfsize option to the add command (also in megabytes)::
[largefiles]
- size = 2
+ minsize = 2
$ hg add --lfsize 2
--- a/hgext/largefiles/lfutil.py Tue Oct 18 16:40:59 2011 -0500
+++ b/hgext/largefiles/lfutil.py Tue Oct 18 20:06:23 2011 -0400
@@ -61,7 +61,7 @@
def getminsize(ui, assumelfiles, opt, default=10):
lfsize = opt
if not lfsize and assumelfiles:
- lfsize = ui.config(longname, 'size', default=default)
+ lfsize = ui.config(longname, 'minsize', default=default)
if lfsize:
try:
lfsize = float(lfsize)
--- a/tests/test-largefiles.t Tue Oct 18 16:40:59 2011 -0500
+++ b/tests/test-largefiles.t Tue Oct 18 20:06:23 2011 -0400
@@ -4,7 +4,7 @@
> purge=
> rebase=
> [largefiles]
- > size=2
+ > minsize=2
> patterns=glob:**.dat
> EOF