comparison hgext/largefiles/overrides.py @ 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 3ecce805ac13
children c96148346af8
comparison
equal deleted inserted replaced
15913:c35dcde25174 15914:264087940d5b
718 for f in ctx: 718 for f in ctx:
719 ff = ctx.flags(f) 719 ff = ctx.flags(f)
720 getdata = ctx[f].data 720 getdata = ctx[f].data
721 if lfutil.isstandin(f): 721 if lfutil.isstandin(f):
722 path = lfutil.findfile(repo, getdata().strip()) 722 path = lfutil.findfile(repo, getdata().strip())
723 if path is None:
724 raise util.Abort(
725 _('largefile %s not found in repo store or system cache')
726 % lfutil.splitstandin(f))
723 f = lfutil.splitstandin(f) 727 f = lfutil.splitstandin(f)
724 728
725 def getdatafn(): 729 def getdatafn():
726 fd = None 730 fd = None
727 try: 731 try: