# HG changeset patch # User Greg Ward # Date 1319394348 14400 # Node ID 8b8dd13295dbd733cc03ebb3c2af2f33d24d5428 # Parent 63455eb771af8a696313239567debffa5010a1da largefiles: use ui.configpath() where appropriate diff -r 63455eb771af -r 8b8dd13295db hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py Sun Oct 23 10:23:31 2011 -0400 +++ b/hgext/largefiles/lfutil.py Sun Oct 23 14:25:48 2011 -0400 @@ -81,7 +81,7 @@ 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: