/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-07-18 23:14:00 UTC
  • mfrom: (7490.40.62 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200718231400-jaes9qltn8oi8xss
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    merge,
29
29
    osutils,
30
30
    urlutils,
31
 
    transform,
32
31
    transport,
33
32
    repository,
34
33
    revision,
860
859
 
861
860
    def write_shelf(self, shelf_file, message=None):
862
861
        tree = self.branch.repository.revision_tree(revision.NULL_REVISION)
863
 
        with transform.TransformPreview(tree) as tt:
 
862
        with tree.preview_transform() as tt:
864
863
            shelf.ShelfCreator._write_shelf(
865
864
                shelf_file, tt, revision.NULL_REVISION)
866
865