changeset 15350:8b8dd13295db stable

largefiles: use ui.configpath() where appropriate
author Greg Ward <greg@gerg.ca>
date Sun, 23 Oct 2011 14:25:48 -0400
parents 63455eb771af
children 5f3142bd23b0
files hgext/largefiles/lfutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: