~bzr/ubuntu/hardy/bzr/bzr-ppa

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_create_checkout.py

  • Committer: Max Bowsher
  • Date: 2011-05-15 10:59:12 UTC
  • mfrom: (76.1.75 jaunty)
  • Revision ID: _@maxb.eu-20110515105912-fm5vlpaef7r76yo2
Tags: 2.3.3-0~bazaar1~hardy1
* Merge from Debian 2.3 packaging branch:
  - New upstream release.
* Return to using external python-configobj package for natty.
* However for maverick and earlier, continue to drop the patching and stay
  with bzr's internal copy of configobj.
* Add an empty python-bzrlib.tests transitional package for PPA builds.
* Apply the patch 07_lazy_import_scope - ScopeReplacer exceptions are
  causing failure of some tests.
* For lucid and earlier, loosen debhelper builddep version and remove
  --list-missing --fail-missing from dh_install.
* For karmic and earlier, there is no python-meliae or python-lzma.
* For jaunty and earlier, build-depend on quilt and use dh --with quilt.
* For hardy, add preinst script to work around hardy's python-central
  failing to clean up after packages migrating away from python-central.
* Add python-medusa, python-lzma and python-meliae as build
  dependencies (used by the test suite).
* Remove John Ferlito from Uploaders.
* Prefer cython as build dependency.
* Remove generated C files during clean.
* New upstream release.
 + Build depend on python-configobj >= 4.7.2+ds-2 which has a fix for bug
   #618349 which breaks the Bazaar testsuite.
* Switch to dh_python2.
* Switch to debhelper 7, drop cdbs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
        tree2 = tree1.branch.create_checkout('checkout', revision_id='rev-1')
48
48
        self.assertEqual('rev-1', tree2.last_revision())
49
 
        self.failUnlessExists('checkout/a')
50
 
        self.failIfExists('checkout/b')
 
49
        self.assertPathExists('checkout/a')
 
50
        self.assertPathDoesNotExist('checkout/b')
51
51
 
52
52
    def test_create_lightweight_checkout(self):
53
53
        """We should be able to make a lightweight checkout."""