~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockable_files.py

  • Committer: Martin Pool
  • Date: 2008-05-12 05:23:43 UTC
  • mto: (3407.2.18 controlfiles)
  • mto: This revision was merged to the branch mainline in revision 3445.
  • Revision ID: mbp@sourcefrog.net-20080512052343-jxvf7mlhzo3kftjq
Add BzrDir._get_file_mode and _get_dir_mode

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
        return urlutils.escape(safe_unicode(file_or_path))
127
127
 
128
128
    def _find_modes(self):
129
 
        """Determine the appropriate modes for files and directories."""
 
129
        """Determine the appropriate modes for files and directories.
 
130
        
 
131
        :deprecated: Replaced by BzrDir._find_modes.
 
132
        """
130
133
        try:
131
134
            st = self._transport.stat('.')
132
135
        except errors.TransportNotPossible: