--- a/hgext/largefiles/basestore.py Mon Apr 15 23:34:36 2013 +0200
+++ b/hgext/largefiles/basestore.py Mon Apr 15 23:37:43 2013 +0200
@@ -62,12 +62,19 @@
util.makedirs(lfutil.storepath(self.repo, ''))
at = 0
+ available = self.exists(set(hash for (_filename, hash) in files))
for filename, hash in files:
ui.progress(_('getting largefiles'), at, unit='lfile',
total=len(files))
at += 1
ui.note(_('getting %s:%s\n') % (filename, hash))
+ if not available.get(hash):
+ ui.warn(_('%s: largefile %s not available from %s\n')
+ % (filename, hash, self.url))
+ missing.append(filename)
+ continue
+
storefilename = lfutil.storepath(self.repo, hash)
tmpfile = util.atomictempfile(storefilename + '.tmp',
createmode=self.repo.store.createmode)