~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Aaron Bentley
  • Date: 2009-11-03 15:53:00 UTC
  • mfrom: (4634.94.3 2.0)
  • mto: (4634.97.2 2.0)
  • mto: This revision was merged to the branch mainline in revision 4798.
  • Revision ID: aaron@aaronbentley.com-20091103155300-9cz3xodn1fzdrt8m
Merge 2.0 into parse-binary-diff-2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
from bzrlib import (
53
53
    branchbuilder,
54
54
    bzrdir,
 
55
    chk_map,
55
56
    debug,
56
57
    errors,
57
58
    hooks,
1617
1618
 
1618
1619
    def _run_bzr_core(self, args, retcode, encoding, stdin,
1619
1620
            working_dir):
 
1621
        # Clear chk_map page cache, because the contents are likely to mask
 
1622
        # locking errors.
 
1623
        chk_map.clear_cache()
1620
1624
        if encoding is None:
1621
1625
            encoding = osutils.get_user_encoding()
1622
1626
        stdout = StringIOWrapper()