~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

 * Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
   behaviour. They use the existing serverless-mode and store no data
   locally. As such they are not suitable for use except in high bandwidth
   low latency environments like LAN's or local disk. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
from StringIO import StringIO
23
23
 
24
 
import bzrlib.branch as branch
 
24
import bzrlib.branch
25
25
import bzrlib.bzrdir as bzrdir
26
26
import bzrlib.errors as errors
27
27
from bzrlib.errors import (NotBranchError,
52
52
        self.assertEqual(old_format, bzrdir.BzrDirFormat.get_default_format())
53
53
 
54
54
 
55
 
class SampleBranch(branch.Branch):
 
55
class SampleBranch(bzrlib.branch.Branch):
56
56
    """A dummy branch for guess what, dummy use."""
57
57
 
58
58
    def __init__(self, dir):
217
217
        branch_base = t.clone('branch').base
218
218
        self.assertEqual(branch_base, dir.get_branch_transport(None).base)
219
219
        self.assertEqual(branch_base,
220
 
                         dir.get_branch_transport(branch.BzrBranchFormat5()).base)
 
220
                         dir.get_branch_transport(bzrlib.branch.BzrBranchFormat5()).base)
221
221
        repository_base = t.clone('repository').base
222
222
        self.assertEqual(repository_base, dir.get_repository_transport(None).base)
223
223
        self.assertEqual(repository_base,