~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_shared_repository.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-01 19:18:09 UTC
  • mfrom: (6459 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6460.
  • Revision ID: jelmer@samba.org-20120201191809-xn340a5i5v4fqsfu
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
    def test_branch_tree(self):
82
82
        self.run_bzr("init-repo --trees a")
83
83
        self.run_bzr("init --format=default b")
84
 
        file('b/hello', 'wt').write('bar')
 
84
        with file('b/hello', 'wt') as f: f.write('bar')
85
85
        self.run_bzr("add b/hello")
86
86
        self.run_bzr("commit -m bar b/hello")
87
87