Show More
@@ -566,9 +566,10 class hgsubrepo(abstractsubrepo): | |||
|
566 | 566 | # sort the files that will be hashed in increasing (likely) file size |
|
567 | 567 | filelist = ('bookmarks', 'store/phaseroots', 'store/00changelog.i') |
|
568 | 568 | yield '# %s\n' % _expandedabspath(remotepath) |
|
569 | vfs = self._repo.vfs | |
|
569 | 570 | for relname in filelist: |
|
570 | absname = os.path.normpath(self._repo.join(relname)) | |
|
571 |
yield '%s = %s\n' % (relname, |
|
|
571 | filehash = util.sha1(vfs.tryread(relname)).hexdigest() | |
|
572 | yield '%s = %s\n' % (relname, filehash) | |
|
572 | 573 | |
|
573 | 574 | def _getstorehashcachepath(self, remotepath): |
|
574 | 575 | '''get a unique path for the store hash cache''' |
General Comments 0
You need to be logged in to leave comments.
Login now