/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

  • Committer: Aaron Bentley
  • Date: 2009-05-20 10:41:50 UTC
  • mfrom: (4373 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4374.
  • Revision ID: aaron@aaronbentley.com-20090520104150-d5s3mrl4uyc0udty
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1642
1642
 
1643
1643
            fl = []
1644
1644
            for subf in os.listdir(dirabs):
1645
 
                if subf == '.bzr':
 
1645
                if self.bzrdir.is_control_filename(subf):
1646
1646
                    continue
1647
1647
                if subf not in dir_entry.children:
1648
1648
                    try:
2374
2374
                    bzrdir_loc = bisect_left(cur_disk_dir_content,
2375
2375
                        ('.bzr', '.bzr'))
2376
2376
                    if (bzrdir_loc < len(cur_disk_dir_content)
2377
 
                        and cur_disk_dir_content[bzrdir_loc][0] == '.bzr'):
 
2377
                        and self.bzrdir.is_control_filename(
 
2378
                            cur_disk_dir_content[bzrdir_loc][0])):
2378
2379
                        # we dont yield the contents of, or, .bzr itself.
2379
2380
                        del cur_disk_dir_content[bzrdir_loc]
2380
2381
            if inv_finished: