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

  • Committer: Jelmer Vernooij
  • Date: 2018-03-07 01:54:11 UTC
  • mto: (0.200.1829 work)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@jelmer.uk-20180307015411-w3hed7yb65isr49a
Handle root in walkdirs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1156
1156
        if prefix != "":
1157
1157
            prefix += "/"
1158
1158
        per_dir = defaultdict(list)
 
1159
        if prefix == "":
 
1160
            per_dir[('', self.get_root_id())] = []
1159
1161
        for path, value in self.index.iteritems():
1160
1162
            if self.mapping.is_special_file(path):
1161
1163
                continue