[merge] change branchbuilder example to a doctest
John Arbash Meinel
john at arbash-meinel.com
Tue Nov 11 02:42:14 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote:
> Branchbuilder's docstring contains an example of how to use it, but
> it's not actually correct. This changes it to a docstring so it can
> be tested, changes branchbuilder not to emit messages to the user when
> it commits, and fixes the docstring to actually work. ;-)
>
> doctests are not great for general testing but it is nice to make sure
> api examples work...
>
BB:approve
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkY8QYACgkQJdeBCYSNAAMBCQCfW7LR0s5skrr1t1ilDT6rOr2Y
wN8AoMA+5vFEFRuL/5TlB99OaP3yJDaP
=5s3h
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list