[RFC] general implementation of glob expansion on win32

Alexander Belchenko bialix at ukr.net
Tue Jul 31 17:14:47 BST 2007


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

John Arbash Meinel пишет:
> 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).

Get away from windows console -- is not my goal. I effectively use bzr in FAR file manager
and happy with it. So in general I like Kuno approach, but I'd better limit
glob expansion too much, rather than make it too wide.

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

I'm agree here, because I'm also used to be the same before encounter bzr.

- --
[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGr1/3zYr338mxwCURAr7XAJ44T58OzAoDypziZbudtXiNy7RW8wCfUt4I
UtY27YIfVw/G0mmYyqjyb74=
=P766
-----END PGP SIGNATURE-----



More information about the bazaar mailing list