~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

(jelmer) "bzr add" warns when skipping a control directory. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
746
746
                # which is perhaps reasonable: adding a new reference is a
747
747
                # special operation and can have a special behaviour.  mbp
748
748
                # 20070306
749
 
                trace.mutter("%r is a nested bzr tree", abspath)
 
749
                trace.warning("skipping nested tree %r", abspath)
750
750
            else:
751
 
                this_ie = self._add_one_and_parent(parent_ie, directory, kind, inv_path)
 
751
                this_ie = self._add_one_and_parent(parent_ie, directory, kind,
 
752
                    inv_path)
752
753
 
753
754
            if kind == 'directory' and not sub_tree:
754
755
                if this_ie.kind != 'directory':