# HG changeset patch # User Na'Tosha Bard # Date 1326892783 -3600 # Node ID 264087940d5b823190ef1d1ea44696335a0f23ac # Parent c35dcde25174891e94fb91544ec9e98979fb47c3 largefiles: check if largefile could be found when archiving (issue3193) diff -r c35dcde25174 -r 264087940d5b hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Wed Jan 18 13:41:03 2012 +0100 +++ b/hgext/largefiles/overrides.py Wed Jan 18 14:19:43 2012 +0100 @@ -720,6 +720,10 @@ getdata = ctx[f].data if lfutil.isstandin(f): path = lfutil.findfile(repo, getdata().strip()) + if path is None: + raise util.Abort( + _('largefile %s not found in repo store or system cache') + % lfutil.splitstandin(f)) f = lfutil.splitstandin(f) def getdatafn():