Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bundlerepo.py @ 3791:8643b9f90b51
introduce localrepo.spath for the store path, sopener fixes
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 05 Dec 2006 11:28:23 +0100 |
parents | 8ecc9c57d883 |
children | abaee83ce0a6 540d1059c802 |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Tue Dec 05 11:28:21 2006 +0100 +++ b/mercurial/bundlerepo.py Tue Dec 05 11:28:23 2006 +0100 @@ -199,8 +199,8 @@ else: raise util.Abort(_("%s: unknown bundle compression type") % bundlename) - self.changelog = bundlechangelog(self.opener, self.bundlefile) - self.manifest = bundlemanifest(self.opener, self.bundlefile, + self.changelog = bundlechangelog(self.sopener, self.bundlefile) + self.manifest = bundlemanifest(self.sopener, self.bundlefile, self.changelog.rev) # dict with the mapping 'filename' -> position in the bundle self.bundlefilespos = {} @@ -223,10 +223,10 @@ f = f[1:] if f in self.bundlefilespos: self.bundlefile.seek(self.bundlefilespos[f]) - return bundlefilelog(self.opener, f, self.bundlefile, + return bundlefilelog(self.sopener, f, self.bundlefile, self.changelog.rev) else: - return filelog.filelog(self.opener, f) + return filelog.filelog(self.sopener, f) def close(self): """Close assigned bundle file immediately."""