/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: Martin
  • Date: 2011-01-26 20:02:52 UTC
  • mfrom: (5633 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5634.
  • Revision ID: gzlist@googlemail.com-20110126200252-s4yy1eywfgomxup7
Merge bzr.dev to add release notes for 2.4

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:
2858
2858
 
2859
2859
    upgrade_recommended = False
2860
2860
 
 
2861
    requires_normalized_unicode_filenames = False
 
2862
 
 
2863
    case_sensitive_filename = "FoRMaT"
 
2864
 
2861
2865
    @classmethod
2862
2866
    def find_format(klass, a_bzrdir):
2863
2867
        """Return the format for the working tree object in a_bzrdir."""
2928
2932
 
2929
2933
    upgrade_recommended = True
2930
2934
 
 
2935
    requires_normalized_unicode_filenames = True
 
2936
 
 
2937
    case_sensitive_filename = "Branch-FoRMaT"
 
2938
 
2931
2939
    def get_format_description(self):
2932
2940
        """See WorkingTreeFormat.get_format_description()."""
2933
2941
        return "Working tree format 2"