diff -r 51b6ce257e0a -r 512a814c5595 hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py Thu Jan 14 10:22:55 2016 -0800 +++ b/hgext/largefiles/lfutil.py Sun Jan 17 17:23:32 2016 +0100 @@ -221,7 +221,12 @@ hash = readstandin(repo, file, rev) if instore(repo, hash): return - copytostoreabsolute(repo, repo.wjoin(file), hash) + absfile = repo.wjoin(file) + if os.path.exists(absfile): + copytostoreabsolute(repo, absfile, hash) + else: + repo.ui.warn(_("%s: largefile %s not available from local store\n") % + (file, hash)) def copyalltostore(repo, node): '''Copy all largefiles in a given revision to the store'''