/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: Canonical.com Patch Queue Manager
  • Date: 2008-08-26 15:17:17 UTC
  • mfrom: (3649.2.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20080826151717-xb3qgwv6xta124k7
(vila) HFS on OSX is case-insensitive too, fix some failing tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
1316
1316
                only_change_inv = True
1317
1317
            elif self.has_filename(from_rel) and not self.has_filename(to_rel):
1318
1318
                only_change_inv = False
1319
 
            elif (sys.platform == 'win32'
1320
 
                and from_rel.lower() == to_rel.lower()
1321
 
                and self.has_filename(from_rel)):
 
1319
            elif (not self.case_sensitive
 
1320
                  and from_rel.lower() == to_rel.lower()
 
1321
                  and self.has_filename(from_rel)):
1322
1322
                only_change_inv = False
1323
1323
            else:
1324
1324
                # something is wrong, so lets determine what exactly