# HG changeset patch # User Greg Ward # Date 2011-10-23 18:25:48 # Node ID 8b8dd13295dbd733cc03ebb3c2af2f33d24d5428 # Parent 63455eb771af8a696313239567debffa5010a1da largefiles: use ui.configpath() where appropriate diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py +++ b/hgext/largefiles/lfutil.py @@ -81,7 +81,7 @@ def link(src, dest): os.chmod(dest, os.stat(src).st_mode) def usercachepath(ui, hash): - path = ui.config(longname, 'usercache', None) + path = ui.configpath(longname, 'usercache', None) if path: path = os.path.join(path, hash) else: