[Bug 425510] Re: 'bzr mv' should do wildcard expansion on windows

John Arbash Meinel john at arbash-meinel.com
Wed Sep 9 16:42:06 BST 2009


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


...

>> Note that right now, 'bzr add' *cannot* handle:
>>   bzr add "*.foo"
> 
> On Windows it actually can:
> 
> C:\Temp>bzr init 3
> Created a standalone tree (format: pack-0.92)
> 
> C:\Temp\3>echo > "bar.foo"
> 
> C:\Temp\3>bzr add "*.foo"
> adding bar.foo
> 

That actually means that it is handling it incorrectly. The correct
interpretation of:
  bzr add "*.foo"

Is that we should add a filename with the explicit name "*.foo" (do not
expand the glob, otherwise you wouldn't quote it.)

>> I don't think it matters a lot, mostly because '*' is not an allowed
>> character in Windows filenames.
> 
> If you mean that quotes should prevent glob expansion on Windows (in theory when your idea wil be
> implemented) then yes.
> 

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqnzM4ACgkQJdeBCYSNAANBXACfawfJHDihpp9/ANDp9IwkNxWD
ivAAoMpG+Zd+3N0b+VbYwOmjK2s0oKOJ
=gE3G
-----END PGP SIGNATURE-----



More information about the bazaar mailing list