removing added-in-error files
Wichmann, Mats D
mats.d.wichmann at intel.com
Thu Dec 6 04:58:18 GMT 2007
Matt Nordhoff wrote:
> 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.
It's a consistency gripe.
adding --force works fine, so it's not like there aren't plenty
of ways to fix.
More information about the bazaar
mailing list