/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/bundle/serializer/v09.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
from . import _get_bundle_header
18
 
from .v08 import BundleSerializerV08, BundleReader
19
 
from ..bundle_data import BundleInfo
20
 
 
21
 
from ...testament import StrictTestament3
 
17
from __future__ import absolute_import
 
18
 
 
19
from breezy.bundle.serializer import _get_bundle_header
 
20
from breezy.bundle.serializer.v08 import BundleSerializerV08, BundleReader
 
21
from breezy.bundle.bundle_data import BundleInfo
 
22
 
 
23
from breezy.bzr.testament import StrictTestament3
22
24
 
23
25
 
24
26
"""Serializer for bundle format 0.9"""
64
66
        testament = StrictTestament3.from_revision(repository, revision_id)
65
67
        return testament.as_sha1()
66
68
 
67
 
    def _testament(self, revision, tree):
68
 
        return StrictTestament3(revision, tree)
 
69
    def _testament_sha1(self, revision, tree):
 
70
        return StrictTestament3(revision, tree).as_sha1()
69
71
 
70
72
 
71
73
class BundleReaderV09(BundleReader):