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

  • Committer: Martin Pool
  • Date: 2008-05-27 01:05:57 UTC
  • mfrom: (3452 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3453.
  • Revision ID: mbp@sourcefrog.net-20080527010557-vqz3rab2v816oybw
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
        # Set the branch nick explicitly.  This will ensure there's a branch
324
324
        # config file in the branch.
325
325
        branch.nick = "Aaron's branch"
326
 
        branch.nick = "Aaron's branch"
327
326
        if not isinstance(branch, remote.RemoteBranch):
328
 
            controlfilename = branch.control_files.controlfilename
329
 
            self.failUnless(t.has(t.relpath(controlfilename("branch.conf"))))
 
327
            self.failUnless(branch._transport.has("branch.conf"))
330
328
        # Because the nick has been set explicitly, the nick is now always
331
329
        # "Aaron's branch", regardless of directory name.
332
330
        self.assertEqual(branch.nick, "Aaron's branch")