bzr revert left a directory around

Bug #67087 reported by Steve Alexander
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Aaron Bentley

Bug Description

I did a bzr merge. I got conflicts, and decided to merge something different instead, so I did a bzr revert.

Then I was confused, because bzr status showed one of the directories added by the merge still around, as an empy directory, not under revision control.

I'd have expected bzr revert to remove that directory, as it wasn't there before I did the merge, and I asked bzr to revert the merge.

Revision history for this message
David Allouche (ddaa) wrote :

Steps to reproduce (might not be absolutely minimal, but works here):

bzr init a
cd a
echo hello > foo
bzr add
bzr commit -m 'first commit'
cd ..
bzr branch a b
cd b
mkdir bar
echo hello > bar/baz
bzr add
bzr commit -m 'added bar/baz'
cd ../a
bzr merge
bzr revert

Observed result:
$ bzr st
unknown:
  bar

The bar directory is empty.

Expected result: bzr revert should delete bar/.

Revision history for this message
David Allouche (ddaa) wrote :

$ bzr --version
Bazaar (bzr) 0.10.0

From bzr-0.10-0ubuntu2.

Changed in bzr:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Aaron Bentley (abentley)
Changed in bzr:
assignee: nobody → aaron-bentley
status: Confirmed → Fix Released
Revision history for this message
John A Meinel (jameinel) wrote :

Just to clarify, that bug was fixed by Aaron in bzr-0.11.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.