[MERGE] alias to respect spaces in quoted arguments
Aaron Bentley
aaron.bentley at utoronto.ca
Fri Oct 20 14:28:01 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marius Kruger wrote:
> Hi,
> I had a bzr problem which I annoyed me so much that I went ahead and
> fixed it:)
I think the desire is reasonable, but the implementation can be
improved. Python comes with a shell-like parser already: shlex.split.
It preserves whitespace in quoted text. So it would be good to use that
instead.
Please also include a test case to ensure that the behaviour you want
will not regress. I can help you write that up, if you're not familiar
with it.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFFOM7h0F+nu1YWqI0RAiHWAJkBUpOX4r/up7jqKI1mxwO1IclFKwCfUals
OuGy+8/u5o5TAbWV+4xKdLU=
=rzut
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list