[MERGE] knit text adding reductions
Robert Collins
robertc at robertcollins.net
Tue Sep 11 01:39:02 BST 2007
On Tue, 2007-09-11 at 10:37 +1000, Ian Clatworthy wrote:
> Some minor comments.
>
> Robert Collins wrote:
> result = versionedfile.add_lines(
> > - self._new_revision_id, parents, new_lines)[0:2]
> > + self._new_revision_id, parents, new_lines,
> > + random_id=self.random_revid)[0:2]
>
> Spacing around =.
This is a function call, no spaces should be present.
> not present in file history.
> > +
> > + :param lines: A list of lines. Each line must be a bytestring. And all
> > + of them except the last must be terminated with \n and contain no
> > + other \n's. The last line may either contain no \n's or a single
> > + terminated \n. If the lines list does meet this constraint the add
> > + routine may error or may succeed - but you will be unable to read
> > + the data back accurately. (Checking the lines have been split
> > + correctly is expensive and extermely unlikely to catch bugs so it
> > + is not done at runtime.)
>
> Spelling of extremely.
Thanks.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070911/74b023b1/attachment-0001.pgp
More information about the bazaar
mailing list