~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-15 16:32:29 UTC
  • mfrom: (1731.1.67 unique-root)
  • Revision ID: pqm@pqm.ubuntu.com-20061015163229-648b1f2ebe692136
New trees have unique root ids

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
            if self.is_control_filename(f):
101
101
                raise errors.ForbiddenControlFileError(filename=f)
102
102
            fp = splitpath(f)
103
 
            if len(fp) == 0:
104
 
                raise BzrError("cannot add top-level %r" % f)
105
103
        # fill out file kinds for all files [not needed when we stop 
106
104
        # caring about the instantaneous file kind within a uncommmitted tree
107
105
        #