[MERGE] bzr rm should delete the working file (Bug #82602)

Martin Pool mbp at sourcefrog.net
Wed Feb 21 21:26:17 GMT 2007


Joseph Wakeling wrote:
> Martin Pool wrote:
>> I would like this:
>>
>>  * the standard command removes the working file
>>  * it refuses to remove it if that would lose data, unless --force is given
>>  * there can be a command to just unversion it
>>
>> Basically this is the same as svn.  I'm sorry this wasn't clear in the bug.
> 
> Ahhhh, I think I see.  So technically the vcs rm command should just
> generate a patch to remove the current content of the file (and the file
> itself), and if that differs from the patch required to remove the last
> _versioned_ copy of the file, you have a potential data loss situation
> and it will refuse to proceed unless forced.
> 
> ... Right ....?
> 
> Anyway, I could live with that. :-)

Well, it doesn't really generate a patch (it just looks to see if the
file is modified) but that's the effect.

-- 
Martin



More information about the bazaar mailing list