Tree._iter_changes(specific_files=[]) behaviour.

Aaron Bentley aaron.bentley at utoronto.ca
Sat Jul 14 15:56:13 BST 2007


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

Wouter van Heyst wrote:
> set of interesting_ids, but now it is left to tree._iter_changes. When
> you pass specific_files=[] to tree._iterchanges it iterates over all the
> changes between the two trees.
> 
> I think my question is, what do we want _iter_changes(specific_files=[])
> to do? Klaus ran into similar questions for tree.{revert,add,commit},
> they're not consistent in handling files=[].

I think the empty list should cause no files to be selected, and None
should cause all files to be selected.

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

iD8DBQFGmOQN0F+nu1YWqI0RAsOFAJ4ku3MOqMNiSuJuiTzu2Q0S01AiPACdHHjY
IboJZ2yvRXrMiFvI3kxrLfg=
=kh8n
-----END PGP SIGNATURE-----



More information about the bazaar mailing list