largefiles: use ui.configpath() where appropriate stable
authorGreg Ward <greg@gerg.ca>
Sun, 23 Oct 2011 14:25:48 -0400
branchstable
changeset 15350 8b8dd13295db
parent 15349 63455eb771af
child 15351 5f3142bd23b0
largefiles: use ui.configpath() where appropriate
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: