/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/blackbox/test_status.py

  • Committer: Ian Clatworthy
  • Date: 2008-09-24 06:52:03 UTC
  • mfrom: (3655.3.1 revspec_as_tree)
  • mto: This revision was merged to the branch mainline in revision 3733.
  • Revision ID: ian.clatworthy@canonical.com-20080924065203-69aq3cbypyyo30zs
fix bzr st -rbranch:path-to-branch (Lukas Lalinsky)

Show diffs side-by-side

added added

removed removed

Lines of Context:
298
298
        self.assertEqual("working tree is out of date, run 'bzr update'\n",
299
299
                         err)
300
300
 
 
301
    def test_status_write_lock(self):
 
302
        """Test that status works without fetching history and
 
303
        having a write lock.
 
304
 
 
305
        See https://bugs.launchpad.net/bzr/+bug/149270
 
306
        """
 
307
        mkdir('branch1')
 
308
        wt = self.make_branch_and_tree('branch1')
 
309
        b = wt.branch
 
310
        wt.commit('Empty commit 1')
 
311
        wt2 = b.bzrdir.sprout('branch2').open_workingtree()
 
312
        wt2.commit('Empty commit 2')
 
313
        out, err = self.run_bzr('status branch1 -rbranch:branch2')
 
314
        self.assertEqual('', out)
 
315
 
301
316
 
302
317
class CheckoutStatus(BranchStatus):
303
318