~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/clean_tree.py

(gz) Truncate stat fields to 4 bytes in dirstate.pack_stat implementations
 (Martin Packman)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import shutil
21
21
 
22
22
from bzrlib import (
23
 
    controldir,
 
23
    bzrdir,
24
24
    errors,
25
25
    ui,
26
26
    )
85
85
        # directory and therefore delete it. (worth to FIXME?)
86
86
        if isdir(path):
87
87
            try:
88
 
                controldir.ControlDir.open(path)
 
88
                bzrdir.BzrDir.open(path)
89
89
            except errors.NotBranchError:
90
90
                result.append((path,subp))
91
91
            else: