aaron.bentley at utoronto.ca
Fri Sep 30 17:21:14 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
I wrote pretty much the same email as John, but then I noticed that it
was about 'nomenclature'.
John A Meinel wrote:
> Gustavo Niemeyer wrote:
>> * revno vs. rev_id
> revno is an integer which represents a particular revision present in
I think Neimeyer's really asking "why does one have an underscore, but
not the other"? My answer: revno is terminology used outside the code.
I prefer underscores otherwise.
>> * branch.get_revision_*() vs. branch.revision_*()
The get_ operations tend to return complex objects, while non-prefixed
ones tend to return strings, lists, etc.
>> * branch.get_rev_id() vs. branch.revision_id_to_revno() vs. *.id2*()
I think the question here is 'should or shouldn't we abbreviate "to" as
>> * branch.controlfilename() and branch.controlfile() vs.
These all make sense to me. controlfilename returns a path, controlfile
returns a file, and revision_history produces information that may or
may not have been obtained from a control file.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar