[RFC] general implementation of glob expansion on win32

John Arbash Meinel john at arbash-meinel.com
Tue Jul 31 16:38:45 BST 2007


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

Alexander Belchenko wrote:
> Kuno Meyer ?8H5B:
>> Hi all
> 
>> I'd like to get feedback for a patch that implements glob expansion on
>> Win32 for (almost) all commands. Currently, glob expansion on Windows is
>> just implemented for the FILE argument of the ``add`` command.
> 
>> ---

I think we really just want an easy way to do glob expansion for commands that
need it. Rather than having it enabled on all commands.

For example, I don't think glob expansion makes any sense for URL's, and it is
fairly common that we use them. (Then again, we rarely see a '*' in a URL, but
'?' becomes fairly possible).

So I think just adding _glob_expand() to the functions that obviously need it
(add, remove, status?, diff?). Is a decent intermediate.

I think the real goal for Windows though, is to get people away from the
command line entirely. TortoiseBZR is shaping up quite nicely, and then
everyone can avoid the *awful* cmd.exe program. (The default terminal encoding
is different from the default encoding for files, no shell expansion, no
colors, default pager is 'more', generally poor PATH and limited toolset, etc).

Plus, most people on Windows are used to programs that let them click, and not
have them type.

So, Kuno, I don't know your particular strengths. But you might want to give
TortoiseBZR a look.

I know Alexander Haro has been working on it for Google Summer of Code. Last I
heard he has made some progress, and just needs to upload his changes to
Launchpad. It is possible that just having another person to bounce some ideas
off of, could be very productive.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGr1eEJdeBCYSNAAMRApo7AKCRqb1/f87dhIEQqXqpYj8LqJFB2gCgu28G
zZ7P3Al0YdMN3yEaNNI2474=
=jCl2
-----END PGP SIGNATURE-----



More information about the bazaar mailing list