Mercurial > hg
comparison hgext/largefiles/localstore.py @ 17480:4e092da9d99f
spelling: Failing
author | timeless@mozdev.org |
---|---|
date | Fri, 17 Aug 2012 13:58:18 -0700 |
parents | 5884812686f7 |
children | fbb732a8f2b9 |
comparison
equal
deleted
inserted
replaced
17479:17c3dbf3026f | 17480:4e092da9d99f |
---|---|
16 import lfutil | 16 import lfutil |
17 import basestore | 17 import basestore |
18 | 18 |
19 class localstore(basestore.basestore): | 19 class localstore(basestore.basestore): |
20 '''localstore first attempts to grab files out of the store in the remote | 20 '''localstore first attempts to grab files out of the store in the remote |
21 Mercurial repository. Failling that, it attempts to grab the files from | 21 Mercurial repository. Failing that, it attempts to grab the files from |
22 the user cache.''' | 22 the user cache.''' |
23 | 23 |
24 def __init__(self, ui, repo, remote): | 24 def __init__(self, ui, repo, remote): |
25 url = os.path.join(remote.local().path, '.hg', lfutil.longname) | 25 url = os.path.join(remote.local().path, '.hg', lfutil.longname) |
26 super(localstore, self).__init__(ui, repo, util.expandpath(url)) | 26 super(localstore, self).__init__(ui, repo, util.expandpath(url)) |