Best way to check if a directory is an brz branch
John Arbash Meinel
john at arbash-meinel.com
Tue Feb 17 18:57:48 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
...
>
> Of course, it doesn't help either that the API docs are in such an
> unusable format and miss vital chunks of information like the message
> attribute of Revision.
>
> But I won't moan anymore ;-) Bazaar is a seriously great piece of
> software and it's worth these teething troubles to help such a great
> project if I can.
>
> Nick
>
Patches are, of course, welcome. So if you find something like "message
is undocumented" you can always add:
=== modified file 'bzrlib/revision.py'
- --- bzrlib/revision.py 2008-09-08 12:59:00 +0000
+++ bzrlib/revision.py 2009-02-17 18:56:31 +0000
@@ -42,13 +42,13 @@
After bzr 0.0.5 revisions are allowed to have multiple parents.
- - parent_ids
- - List of parent revision_ids
- -
- - properties
- - Dictionary of revision properties. These are attached to the
- - revision as extra metadata. The name must be a single
- - word; the value can be an arbitrary string.
+ :ivar parent_ids: List of parent revision_ids
+
+ :ivar properties: Dictionary of revision properties. These are
attached to
+ the revision as extra metadata. The name must be a single
word; the
+ value can be an arbitrary string.
+
+ :ivar message: The commit message associated with this revision.
"""
def __init__(self, revision_id, properties=None, **args):
It is difficult for people who have been using a system for a long time
to realize where things like documentation have wholes because we
automatically fill them in. (I *never* use the reference documentation,
because I remember enough that just reading docstrings is enough for me.
I'm happy to approve patches to improve the reference documentation,
however.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmbCKwACgkQJdeBCYSNAAOL8wCfdJeORDipuFqtpF08z7rY8pyD
JQMAn2C5/NoAgMpKU+0AVDX6LziZucP3
=9q+x
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list