removing added-in-error files

Wichmann, Mats D mats.d.wichmann at intel.com
Thu Dec 6 04:20:28 GMT 2007


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.



More information about the bazaar mailing list