bug - delete a file, bzr remove it, then commit

John Whitley whitley at acm.org
Mon Sep 12 18:45:34 BST 2005


On Sep 7, 2005, Robert Collins wrote:

> and you will get a warning about 'no changes' :(

Hmm... the problem seems worse than that to me.  Remove seems to work  
allright prior to commit, but has issues when trying to remove a  
previously committed file.  A simple test case for adding,  
committing, then removing a file fails with the 'no changes to  
commit' error.
Repro steps follow.

System info: Mac OS X, 10.4.2, Python 2.4.1,
using bzr-0.0.7

& mkdir bzrtest
& cd bzrtest
& bzr init
& echo "this is a test" > README
& bzr add README
& bzr commit -m "added docs"
& bzr remove README
& bzr status
removed:
   README
unknown:
   README
& bzr commit -m "removed docs"
bzr: ERROR: ('no changes to commit', ['use --unchanged to commit  
anyhow'])
& bzr status
removed:
   README
unknown:
   README

-- John






More information about the bazaar mailing list