hgext/largefiles/localstore.py
changeset 17191 5884812686f7
parent 16928 73b9286e667c
child 17411 a02e36568e88
child 17424 e7cfe3587ea4
--- a/hgext/largefiles/localstore.py	Fri Jul 06 14:12:42 2012 -0500
+++ b/hgext/largefiles/localstore.py	Fri Jul 13 21:46:53 2012 +0200
@@ -22,9 +22,9 @@
     the user cache.'''
 
     def __init__(self, ui, repo, remote):
-        url = os.path.join(remote.path, '.hg', lfutil.longname)
+        url = os.path.join(remote.local().path, '.hg', lfutil.longname)
         super(localstore, self).__init__(ui, repo, util.expandpath(url))
-        self.remote = remote
+        self.remote = remote.local()
 
     def put(self, source, hash):
         util.makedirs(os.path.dirname(lfutil.storepath(self.remote, hash)))