Show More
@@ -115,10 +115,10 b' def inusercache(ui, hash):' | |||||
115 |
|
115 | |||
116 | def findfile(repo, hash): |
|
116 | def findfile(repo, hash): | |
117 | if instore(repo, hash): |
|
117 | if instore(repo, hash): | |
118 |
repo.ui.note(_(' |
|
118 | repo.ui.note(_('found %s in store\n') % hash) | |
119 | return storepath(repo, hash) |
|
119 | return storepath(repo, hash) | |
120 | elif inusercache(repo.ui, hash): |
|
120 | elif inusercache(repo.ui, hash): | |
121 |
repo.ui.note(_(' |
|
121 | repo.ui.note(_('found %s in system cache\n') % hash) | |
122 | path = storepath(repo, hash) |
|
122 | path = storepath(repo, hash) | |
123 | util.makedirs(os.path.dirname(path)) |
|
123 | util.makedirs(os.path.dirname(path)) | |
124 | link(usercachepath(repo.ui, hash), path) |
|
124 | link(usercachepath(repo.ui, hash), path) |
@@ -43,7 +43,7 b' class localstore(basestore.basestore):' | |||||
43 | path = lfutil.usercachepath(self.ui, hash) |
|
43 | path = lfutil.usercachepath(self.ui, hash) | |
44 | else: |
|
44 | else: | |
45 | raise basestore.StoreError(filename, hash, '', |
|
45 | raise basestore.StoreError(filename, hash, '', | |
46 |
_(" |
|
46 | _("can't get file locally")) | |
47 | fd = open(path, 'rb') |
|
47 | fd = open(path, 'rb') | |
48 | try: |
|
48 | try: | |
49 | return lfutil.copyandhash(fd, tmpfile) |
|
49 | return lfutil.copyandhash(fd, tmpfile) |
@@ -49,7 +49,7 b' but there is no cache file for it. So, ' | |||||
49 | $ hg update |
|
49 | $ hg update | |
50 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
50 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
51 | getting changed largefiles |
|
51 | getting changed largefiles | |
52 |
large: |
|
52 | large: can't get file locally | |
53 | (no default or default-push path set in hgrc) |
|
53 | (no default or default-push path set in hgrc) | |
54 | 0 largefiles updated, 0 removed |
|
54 | 0 largefiles updated, 0 removed | |
55 | $ hg status |
|
55 | $ hg status | |
@@ -67,7 +67,7 b' Update working directory to tip, again.' | |||||
67 | $ hg update |
|
67 | $ hg update | |
68 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
68 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
69 | getting changed largefiles |
|
69 | getting changed largefiles | |
70 |
large: |
|
70 | large: can't get file locally | |
71 | (no default or default-push path set in hgrc) |
|
71 | (no default or default-push path set in hgrc) | |
72 | 0 largefiles updated, 0 removed |
|
72 | 0 largefiles updated, 0 removed | |
73 | $ hg status |
|
73 | $ hg status |
General Comments 0
You need to be logged in to leave comments.
Login now