removing added-in-error files
Matt Nordhoff
mnordhoff at mattnordhoff.com
Thu Dec 6 04:50:25 GMT 2007
Wichmann, Mats D wrote:
> After an "add" of a directory picked up some things left lying
> around in it, I tried to clean up before committing:
>
> $ bzr help rm
> Purpose: Remove files or directories.
> Usage: bzr remove [FILE...]
>
> Options:
> --new Remove newly-added files.
> ....
>
> $ bzr rm --new python.man*
> bzr: ERROR: Can't remove changed or unknown files:
> added:
> Python/interpreter/python.man
> Python/interpreter/python.man.xml
> Use --keep to not delete them, or --force to delete them regardless.
>
>
> Huh? they're neither changed nor unknown, they're "added", and the
> help just told me to use --new to remove newly-added files.
>
> Something's not sounding logical to me.
Well, the workaround is to use "bzr revert" on the files.
--
More information about the bazaar
mailing list