hgext/lfs/__init__.py
changeset 35280 8e72f9152c4d
parent 35214 a8c778b2a689
child 35346 9eb19b13e92a
--- a/hgext/lfs/__init__.py	Tue Dec 05 23:08:59 2017 -0500
+++ b/hgext/lfs/__init__.py	Wed Dec 06 22:56:15 2017 -0500
@@ -24,6 +24,10 @@
 
     # how many times to retry before giving up on transferring an object
     retry = 5
+
+    # the local directory to store lfs files for sharing across local clones.
+    # If not set, the cache is located in an OS specific cache location.
+    usercache = /path/to/global/cache
 """
 
 from __future__ import absolute_import
@@ -62,6 +66,9 @@
 configitem('lfs', 'url',
     default=configitem.dynamicdefault,
 )
+configitem('lfs', 'usercache',
+    default=None,
+)
 configitem('lfs', 'threshold',
     default=None,
 )