321
321
open(',,bundle', 'wb').write(bundle_txt.getvalue())
323
323
# This should also validate the generated bundle
325
325
repository = self.b1.repository
327
327
# These really should have already been checked when we read the
328
328
# bundle, since it computes the sha1 hash for the revision, which
329
329
# only will match if everything is okay, but lets be explicit about