rfc: Change get_parent_map signature so that no parents is ()

Aaron Bentley aaron at aaronbentley.com
Tue Jul 22 16:50:37 BST 2008


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

John Arbash Meinel wrote:
> If we prefer, we could have it return 2 values
> ~  present_map, ghosts = get_XXXX()

I find multiple return values somewhat cumbersome, and it's clear that
the additional return value would not provide new information.  So I
would prefer to only have a map returned, unless checking for ghosts is
overwhelmingly common.

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

iD8DBQFIhgHN0F+nu1YWqI0RAkOJAJwNjH+hLmoprO/zOIgCCT0fxjgx1QCfTxdw
v2MKDgMg+8L6ZmLb4ndXONE=
=YbFD
-----END PGP SIGNATURE-----



More information about the bazaar mailing list