[MERGE] Deprecate last-revision and pending_merges.

Aaron Bentley aaron.bentley at utoronto.ca
Wed Sep 6 00:42:34 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> This deprecates last_revision and pending_merges from the WorkingTree
> interface in favour of get_parent_ids.

Don't we want to keep last_revision as a convenience method?  I notice
several places where the elimination of last_revision has made the code
longer.  last_revision makes it easier to write correct code, rather
than calling "get_parent_ids()[0]" without a try block.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE/gtp0F+nu1YWqI0RAiSrAJ9lGyNamExCPpaHXbEkrTGv0hyv0gCfWEK1
nmxYqWXS0y6KF46KQ5hNY4I=
=KDLl
-----END PGP SIGNATURE-----




More information about the bazaar mailing list