# HG changeset patch # User Matt Harbison # Date 1428190476 14400 # Node ID c082a4756ed74f2ad0b305a4dc9a2759f0139d15 # Parent 8dc2533f03ef35b82020cc5c09f55058208ea496 largefiles: use lfutil.findstorepath() when verifying a local repo diff -r 8dc2533f03ef -r c082a4756ed7 hgext/largefiles/localstore.py --- a/hgext/largefiles/localstore.py Sat Apr 04 19:31:40 2015 -0400 +++ b/hgext/largefiles/localstore.py Sat Apr 04 19:34:36 2015 -0400 @@ -55,9 +55,9 @@ return False expecthash = fctx.data()[0:40] - storepath = lfutil.storepath(self.remote, expecthash) + storepath, exists = lfutil.findstorepath(self.remote, expecthash) verified.add(key) - if not lfutil.instore(self.remote, expecthash): + if not exists: self.ui.warn( _('changeset %s: %s references missing %s\n') % (cset, filename, storepath))