'forget' the recently added files

Erik Bågfors zindar at gmail.com
Sat May 27 17:06:41 BST 2006


On 5/27/06, John Arbash Meinel <john at arbash-meinel.com> wrote:
> Aaron Bentley wrote:
> > Joris Putcuyps wrote:
> >
> > | Yes, remove will do, but trying this with multiple files is a bit
> > | annoying. You need to manual check the files that you don't want and
> > | call remove on them.
> >
> > I recently discovered a hidden command "bzr added" will list all
> > newly-added files.
> >
> > Aaron
>
> I really hope that we get 'bzr ls --added' written. I looked into it a
> while ago, but it wasn't quite straightforward to do. The problem is
> that you could supply multiple arguments to ls to show different files,
> should they stack? Right now --ignored, --unknown, and --versioned stack.
>
> Anyway, the reason to get it into ls, is because it is meant to be
> line-oriented, and you could do "bzr ls --added --null | xargs -0 bzr
> remove"

what about "bzr remove --added"?

Basically, --added, --ignored, --modified etc, can be added to many
commands.  So you can run "bzr commit --modified", "bzr commit
--added", "bzr add --ignored", etc

/Erik




More information about the bazaar mailing list