# HG changeset patch # User FUJIWARA Katsunori # Date 2014-11-19 09:35:14 # Node ID 99a8864180007201aa5c95bcf304b911e82f53f4 # Parent 6cfa7a73b6e7ff3da179f9ca86aba53d824b357b subrepo: remove "_getstorehashcachepath" referred by no other code paths diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -561,11 +561,6 @@ class hgsubrepo(abstractsubrepo): filehash = util.sha1(vfs.tryread(relname)).hexdigest() yield '%s = %s\n' % (relname, filehash) - def _getstorehashcachepath(self, remotepath): - '''get a unique path for the store hash cache''' - return self._repo.join(os.path.join( - 'cache', 'storehash', _getstorehashcachename(remotepath))) - @propertycache def _cachestorehashvfs(self): return scmutil.vfs(self._repo.join('cache/storehash'))