/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/workingtree.py

handle unversioned directories

Show diffs side-by-side

added added

removed removed

Lines of Context:
1147
1147
        # directory file_id, relative path, absolute path, reverse sorted children
1148
1148
        if from_dir is not None:
1149
1149
            from_dir_id = inv.path2id(from_dir)
 
1150
            if from_dir_id is None:
 
1151
                # Directory not versioned
 
1152
                return
1150
1153
            from_dir_abspath = pathjoin(self.basedir, from_dir)
1151
1154
        else:
1152
1155
            from_dir_id = inv.root.file_id