new status output

Martin Pool martinpool at gmail.com
Thu Oct 20 03:54:03 BST 2005


On 19/10/05, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> But
>
>   $ bzr status --unknown | xargs rm
>
> or
>
>   $ bzr status --unknown | xargs whatever-stript

Your wish is granted:

  bzr unknowns | xargs rm

I often do one of

  gvim $( bzr conflicts )
  emacsclient $( bzr conflicts)

Rather than introducing a lot of top-level commands it may be better
to make these options to ls or status.  Also there are some classes of
file that can't be read this way at the moment, so we should clean it
up a bit.

I think this is actually much simpler to script than svn; there are
lots of programmers who understand backticks but wouldn't be
comfortable writing an awk script to parse svn status.  I need to stop
and think when I do it.

--
Martin




More information about the bazaar mailing list