Mercurial > hg
changeset 15914:264087940d5b
largefiles: check if largefile could be found when archiving (issue3193)
author | Na'Tosha Bard <natosha@unity3d.com> |
---|---|
date | Wed, 18 Jan 2012 14:19:43 +0100 |
parents | c35dcde25174 |
children | d4c0fa71de01 |
files | hgext/largefiles/overrides.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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():