~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-01 15:38:25 UTC
  • mfrom: (3395.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080501153825-fbc1be2c4g22idz8
Minor docstring cleanups (Ian Clatworthy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
        """
241
241
        raise NotImplementedError(self.mkdir)
242
242
 
 
243
    @needs_write_lock
 
244
    def put_file_bytes_non_atomic(self, file_id, bytes):
 
245
        """Update the content of a file in the tree.
 
246
        
 
247
        Note that the file is written in-place rather than being
 
248
        written to a temporary location and renamed. As a consequence,
 
249
        readers can potentially see the file half-written.
 
250
 
 
251
        :param file_id: file-id of the file
 
252
        :param bytes: the new file contents
 
253
        """
 
254
        raise NotImplementedError(self.put_file_bytes_non_atomic)
 
255
 
243
256
    def set_parent_ids(self, revision_ids, allow_leftmost_as_ghost=False):
244
257
        """Set the parents ids of the working tree.
245
258