/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

Merge Martins 0.15rc2 release branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
        if _abspath in self._files:
193
193
            self._translate_error(IOError(errno.ENOTDIR, relpath), relpath)
194
194
        for path in self._files:
195
 
            if path.startswith(_abspath):
 
195
            if path.startswith(_abspath + '/'):
196
196
                self._translate_error(IOError(errno.ENOTEMPTY, relpath),
197
197
                                      relpath)
198
198
        for path in self._dirs:
199
 
            if path.startswith(_abspath) and path != _abspath:
 
199
            if path.startswith(_abspath + '/') and path != _abspath:
200
200
                self._translate_error(IOError(errno.ENOTEMPTY, relpath), relpath)
201
201
        if not _abspath in self._dirs:
202
202
            raise NoSuchFile(relpath)