behavior of 'bzr revert'
John Arbash Meinel
john at arbash-meinel.com
Mon Jun 25 17:28:06 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sebastian Kuzminsky wrote:
> Shouldn't 'bzr revert' remove all unknown files? It doesn't in 0.17.0.
>
> Is there some convenient way to list unknown, un-ignored files?
>
> I'm looking for something like 'bzr unknown', analogous to 'bzr deleted',
> 'bzr renames', etc.
>
>
'bzr ls --unknown'
'bzr clean-tree --unknown' (provided by bzrtools).
'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.
We are trying to move away from "bzr added/deleted/x/y/z" instead switching to
'bzr ls --unknown' 'bzr ls --ignored'.
We haven't implemented all of them. Because at this point 'bzr ls' only works
on a single tree (current). And added/deleted/etc are all "delta" information.
(It is only added if it is versioned in THIS, but not in BASE, etc.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGf+0WJdeBCYSNAAMRAkcIAKCoKoI1T0OmagjFIHxXsrZAIHEsygCgucg2
F2YuFpQf2RE4XYnNh38HGK8=
=qolj
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list