~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/versioning.py

Remove some direct calls to logging, and some dead code

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
from bzrlib.selftest import BzrTestBase, TestCaseInTempDir
26
26
from bzrlib.branch import Branch
27
 
 
28
 
import logging
29
 
logger = logging.getLogger('bzr.test.versioning')
30
 
debug = logger.debug
 
27
from bzrlib.trace import mutter
31
28
 
32
29
 
33
30
class TestVersioning(TestCaseInTempDir):
155
152
 
156
153
        The upgrade should be a no-op."""
157
154
        b = Branch.open('.')
158
 
        debug('branch has %d revisions', b.revno())
 
155
        mutter('branch has %d revisions', b.revno())
159
156
        
160
 
        debug('check branch...')
 
157
        mutter('check branch...')
161
158
        from bzrlib.check import check
162
159
        check(b, False)
163
160
        
184
181
        for fn in ('a/one', 'b/two', 'top'):
185
182
            file(fn, 'w').write('new contents')
186
183
            
187
 
        debug('start selective subdir commit')
 
184
        mutter('start selective subdir commit')
188
185
        run_bzr('commit', 'a', '-m', 'commit a only')
189
186
        
190
187
        old = b.revision_tree(b.get_rev_id(1))