'forget' the recently added files

Joris Putcuyps joris.putcuyps at skynet.be
Sat May 27 17:18:34 BST 2006


John Arbash Meinel 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"
> 
> John
> =:->
> 
> 
> 
Well, as a Linux user, I like that idea, but without the 'ls' and
'--null'. e.g. 'bzr --added | xargs -0 bzr'.
Only, I'm afraid the 'xargs' call is not really platform independent.

Joris





More information about the bazaar mailing list