Why does "view" not allow wildcards?
Ben Finney
ben+bazaar at benfinney.id.au
Sun Jan 3 23:29:40 GMT 2010
Juanma Barranquero <lekktu at gmail.com> writes:
> Before filling a bugreport for a wishlist item, I wanted to ask
> whether this was discussed and rejected during the filtered views
> development.
I don't know about that so I won't speak to what considerations may
already have been made for what you describe.
> 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
You can use the existing tools to gather those filenames for you::
$ bzr view --name changelogs $(find . -name 'ChangeLog*')
If you don't want to rely on the current working tree, you might instead
find it useful to process the output of ‘bzr inventory’::
$ bzr view --name changelogs $(bzr inventory | grep 'ChangeLog')
--
\ “To have the choice between proprietary software packages, is |
`\ being able to choose your master. Freedom means not having a |
_o__) master.” —Richard M. Stallman, 2007-05-16 |
Ben Finney
More information about the bazaar
mailing list