Why does "view" not allow wildcards?

Jerome Leclanche adys.wh at gmail.com
Mon Jan 4 00:11:23 GMT 2010


Is there a reason why some commands (such as view but also up or pull) don't
accept more than one argument? I'd really like to one day be able to do cd
~/src/bzr && bzr pull *. git and svn do allow that, which is really useful.

J. Leclanche / Adys


On Mon, Jan 4, 2010 at 2:07 AM, Martin Pool <mbp at canonical.com> wrote:

> 2010/1/4 Juanma Barranquero <lekktu at gmail.com>:
> > Before filling a bugreport for a wishlist item, I wanted to ask
> > whether this was discussed and rejected during the filtered views
> > development.
> >
> > Why does view only allows to set files (or directories), and not
> > wildcards? It could certainly be useful, for example in Emacs I would
> > likely have a view
> >
> >  bzr view --name changelogs ChangeLog*
> >
> > There are 59 ChangeLog.* files in the Emacs tree, too many to add
> > manually, and unwieldy in the message
> >
> >  Ignoring files outside view. View is ...
> >
> >    Juanma
>
> The general idea of having a view defined by a wildcard seems to make
> sense and you're welcome to add a bug asking for it.  It's probably
> feasible.
>
> However in the specific example you give, at least on unix, the glob
> is going to be expanded by the shell, so Bazaar won't know you didn't
> manually specify all those names.
>
> --
> Martin <http://launchpad.net/~mbp/>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20100104/82c88a06/attachment.htm 


More information about the bazaar mailing list