~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-09 20:23:07 UTC
  • mfrom: (4265.1.4 bbc-merge)
  • Revision ID: pqm@pqm.ubuntu.com-20090409202307-n0depb16qepoe21o
(jam) Change _fetch_uses_deltas = False for CHK repos until we can
        write a better fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import os
20
20
 
21
 
import bzrlib.branch
22
21
from bzrlib import (
23
22
    osutils,
24
23
    workingtree,
486
485
                                retcode=3)
487
486
        self.assertEqual('bzr: ERROR: --after cannot be specified with'
488
487
                         ' --auto.\n', err)
489
 
 
490
 
    def test_mv_readonly_lightweight_checkout(self):
491
 
        branch = self.make_branch('foo')
492
 
        branch = bzrlib.branch.Branch.open('readonly+' + branch.base)
493
 
        tree = branch.create_checkout('tree', lightweight=True)
494
 
        self.build_tree(['tree/path'])
495
 
        tree.add('path')
496
 
        # If this fails, the tree is trying to acquire a branch lock, which it
497
 
        # shouldn't.
498
 
        self.run_bzr(['mv', 'tree/path', 'tree/path2'])