[patch] make 'bzr ignore' take multiple arguments (bug 29488)
Aaron Bentley
aaron.bentley at utoronto.ca
Tue Oct 10 19:34:27 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Cheuksan Edward Wang wrote:
> Thanks. I have modified it. Here is the new changeset.
> return
> - if name_pattern is None:
> + if name_pattern_list is None or name_pattern_list == []:
> raise BzrCommandError("ignore requires a NAME_PATTERN")
^^ perhaps this should be updated to say "ignore requires at least one
NAME_PATTERN or --old-default-rules".
> - igns += name_pattern + '\n'
> + for name_pattern in name_pattern_list:
> + igns += name_pattern + '\n'
^^^ Please use spaces to indent, not tabs.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFFK+ey0F+nu1YWqI0RAuIXAJ9pG6x6xluVHbzea0rFTox4Bqso4QCdErd+
wSnDW3WcpziUDFHeL46lJEE=
=pUb4
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list