[wishlist] is it possible to have flag for no-recurse status and diff?

Aaron Bentley aaron.bentley at utoronto.ca
Fri Jul 27 00:43:02 BST 2007


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

Martin Pool wrote:
> On 7/26/07, Alexander Belchenko <bialix at ukr.net> wrote:
>> Is it possible to have some flag, like --no-recurse, to disable status
>> and diff
>> to recurse into subdirectories? How hard to implement this feature?
> 
> I'd like to have such a flag.    I think you would do it by adding a
> no-recurse option to _iter_changes, which would probably not be
> totally trivial but should not be too hard.

You are more optimistic than me.  I find WorkingTree4.iter_changes
almost completely opaque.

> I'd suggest you test it
> at that level first, then hook it up to the commands.

I think perhaps we should bring back the specific_file_ids parameter to
iter_changes.  If you're specifying individual files, file_ids are a
more precise way to do that.

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

iD4DBQFGqTGG0F+nu1YWqI0RAkzjAKCDaOtS37vtjoRzjtyJeI6eVzw5HQCXcG5z
ToSFAkK960PRaQq4B9qDbQ==
=QQNy
-----END PGP SIGNATURE-----



More information about the bazaar mailing list