~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Jelmer Vernooij
  • Date: 2009-04-06 02:54:14 UTC
  • mfrom: (4253 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4255.
  • Revision ID: jelmer@samba.org-20090406025414-65tpjwcmjp5wa5oj
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
794
794
        check_content=True):
795
795
        """Add a text to the store.
796
796
 
797
 
        :param key: The key tuple of the text to add.
 
797
        :param key: The key tuple of the text to add. If the last element is
 
798
            None, a CHK string will be generated during the addition.
798
799
        :param parents: The parents key tuples of the text to add.
799
800
        :param lines: A list of lines. Each line must be a bytestring. And all
800
801
            of them except the last must be terminated with \n and contain no