~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2016-02-07 18:23:13 UTC
  • mto: (6615.3.1 2.7)
  • mto: This revision was merged to the branch mainline in revision 6620.
  • Revision ID: v.ladeuil+lp@free.fr-20160207182313-jwz7z3vj4mpyjn7y
Ensure http://pad.lv/1323805 won't come back.

Since the 2.6.0 release pypi policy changed and release tarballs can't be
hosted on launchpad anymore, they have to be uploaded to
http://pypi.python.org/pypi


This fixes setup.py sdist to generate the right tarball with nearly the same
content as the one produced for 2.7.0.

Such a tarball have been uploaded to pypi properly signed and tested for
installation in venv.

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 __future__ import absolute_import
 
18
 
17
19
from bzrlib.bundle.serializer import _get_bundle_header
18
20
from bzrlib.bundle.serializer.v08 import BundleSerializerV08, BundleReader
19
21
from bzrlib.testament import StrictTestament3
63
65
        testament = StrictTestament3.from_revision(repository, revision_id)
64
66
        return testament.as_sha1()
65
67
 
66
 
    def _testament_sha1(self, revision, inventory):
67
 
        return StrictTestament3(revision, inventory).as_sha1()
 
68
    def _testament_sha1(self, revision, tree):
 
69
        return StrictTestament3(revision, tree).as_sha1()
68
70
 
69
71
 
70
72
class BundleReaderV09(BundleReader):