~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockable_files.py

Deprecate LockableFiles.controlfilename

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
        if not self._set_file_mode:
146
146
            self._file_mode = None
147
147
 
 
148
    @deprecated_method(deprecated_in((1, 6, 0)))
148
149
    def controlfilename(self, file_or_path):
149
 
        """Return location relative to branch."""
 
150
        """Return location relative to branch.
 
151
        
 
152
        :deprecated: Use Transport methods instead.
 
153
        """
150
154
        return self._transport.abspath(self._escape(file_or_path))
151
155
 
152
156
    @needs_read_lock