/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/tests/per_branch/test_branch.py

  • Committer: Jelmer Vernooij
  • Date: 2020-06-29 23:14:10 UTC
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200629231410-wig5v5eqfrsrxx6x
Split out git and bzr-specific transforms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
863
863
 
864
864
    def write_shelf(self, shelf_file, message=None):
865
865
        tree = self.branch.repository.revision_tree(revision.NULL_REVISION)
866
 
        with transform.TransformPreview(tree) as tt:
 
866
        with tree.preview_transform() as tt:
867
867
            shelf.ShelfCreator._write_shelf(
868
868
                shelf_file, tt, revision.NULL_REVISION)
869
869