How do I list removed and unknown files only?

James Westby jw+debian at jameswestby.net
Fri Mar 28 09:24:00 GMT 2008


On Fri, 2008-03-28 at 10:14 +0100, Nicholas Allen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I have done a large refactoring in Eclipse (unfortunately the bzr
> eclipse plugin does not work when each project is not a branch) so now I
> have to tell bzr each and every file that has been moved.
> 
> bzr status shows all added and modified files (which is a large list)
> and I would like to be able to copy and paste the removed files and the
> unknown files in bzr mv commands. Unfortunately, bzr puts the removed
> files at the top and the unknown ones at the bottom which makes this
> process painfully annoying.
> 
> So I want to be able to see just the removed files and the unknown
> files. I thought I might be able to do this with the ls command but
> there is no --removed option.
> 
> I was hoping I could do this:
> 
> bzr ls --unknown --removed --kind=file
> 
> I think it would be great if each section in the status had an option
> (so --added, --modified and --conflicts would also be options).
> 
> I found a work around using --short option to status and then piping
> through the grep command but I think the user should not have to do this.
> 

Hi,

I agree with you. This has already been reported as

https://bugs.launchpad.net/bzr/+bug/52923

Thanks,

James





More information about the bazaar mailing list