/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: 2011-01-25 17:45:08 UTC
  • mfrom: (5632.1.1 wt-case-insensitive)
  • Revision ID: pqm@pqm.ubuntu.com-20110125174508-jmx7uxbgbc7kuwbg
(jameinel) Fix case-sensitive test failures on Windows. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
    def _detect_case_handling(self):
257
257
        wt_trans = self.bzrdir.get_workingtree_transport(None)
258
258
        try:
259
 
            wt_trans.stat("FoRMaT")
 
259
            wt_trans.stat(self._format.case_sensitive_filename)
260
260
        except errors.NoSuchFile:
261
261
            self.case_sensitive = True
262
262
        else:
2860
2860
 
2861
2861
    requires_normalized_unicode_filenames = False
2862
2862
 
 
2863
    case_sensitive_filename = "FoRMaT"
 
2864
 
2863
2865
    @classmethod
2864
2866
    def find_format(klass, a_bzrdir):
2865
2867
        """Return the format for the working tree object in a_bzrdir."""
2932
2934
 
2933
2935
    requires_normalized_unicode_filenames = True
2934
2936
 
 
2937
    case_sensitive_filename = "Branch-FoRMaT"
 
2938
 
2935
2939
    def get_format_description(self):
2936
2940
        """See WorkingTreeFormat.get_format_description()."""
2937
2941
        return "Working tree format 2"