[MERGE] remove --new

Michael Ellerman michael at ellerman.id.au
Tue May 30 14:38:38 BST 2006


On 5/30/06, Erik Bågfors <zindar at gmail.com> wrote:
> On 5/30/06, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > This patch adds support for "bzr remove --new", as discussed earlier on
> > the list.  As is frequently the case, the tests are longer than the
> > tested code.
>
> Have you considered my idea of adding "--added, --ignored" etc to
> remove, commit, etc.  I can see the following good usages
>
> bzr remove --added   Remove everything added, but not committed yet
> bzr remove --ignored --added Remove everything added and ignored, that
> was added as a misstake (bzr add * will add ignored files)
> bzr commit --modified Commit any files modified
> bzr commit --added    Commit any files that are added..
> bzr revert --removed    Revert files that I accidentally removed
> bzr revert --modified    Revert modified files, but do not revert the
> fact that I added some files..

I think that's kinda interesting, although global options (ie. for
every command) are a bit irksome.

Having said that I don't really see anything wrong with "bzr ls
--added | xargs whatever".

cheers




More information about the bazaar mailing list