992
992
nostore_sha=nostore_sha))[0]
993
993
return sha1, length, None
995
def add_text(self, key, parents, text, parent_texts=None,
995
def _add_text(self, key, parents, text, nostore_sha=None, random_id=False):
998
996
"""See VersionedFiles.add_text()."""
999
997
self._index._check_write_ok()
1000
998
self._check_add(key, None, random_id, check_content=False)