[MERGE] internal glob expansion for all commands on win32 and for invocations from the test suite

Robert Collins robertc at robertcollins.net
Wed Aug 8 23:24:45 BST 2007


On Thu, 2007-08-09 at 00:19 +0200, Kuno Meyer wrote:
> --- bzrlib/win32utils.py        2007-07-24 19:40:40 +0000
> +++ bzrlib/win32utils.py        2007-08-08 22:13:53 +0000
> @@ -266,7 +266,7 @@
>      Introduced in bzrlib 0.18.
>      """
>      if not file_list:
> -        return []
> +        return file_list
>      import glob
>      expanded_file_list = []
>      for possible_glob in file_list:


This change seems spurious and makes the function harder to use as
demonstrated elsewhere in your patch where you have to make sorting and
using it optional. 

Why have you made this change?

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070809/e13c9863/attachment.pgp 


More information about the bazaar mailing list