behavior of 'bzr revert'

Sebastian Kuzminsky seb at highlab.com
Mon Jun 25 17:43:33 BST 2007


John Arbash Meinel <john at arbash-meinel.com> wrote:
> 'bzr ls --unknown'
> 
> 'bzr clean-tree --unknown' (provided by bzrtools).

Thanks!  'bzr ls --unknown' does it for me.  'bzr clean-tree' doesnt
take a directory argument, it works on the whole checkout, which is too
heavy handed for my application.


> 'bzr revert' doesn't ever remove unknown files because we don't know why you
> have them there. There are some very precious files that people have marked
> ignored or haven't started versioning yet.

I can see leaving ignored files, but unknowns?  The revert help says
"If you name a directory, all the contents of that directory will be
reverted."  There's no mention of special treatment of unknown files.


-- 
Sebastian Kuzminsky



More information about the bazaar mailing list