bzr rm warns about files in symlink target directory

Bug #245045 reported by Russ Brown
4
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

I just tried to bzr rm a symlink which pointed at a directory. I did not have a slash appended to the filename.

bzr acted as though the symlink was a real directory, with the files in the target directory listed as unknowns:

bzr: ERROR: Can't safely remove modified or unknown files:
<file list>

Workaround is to just use --force (nothing other than the symlink is removed, but it certainly gives the impression that they will be). The user experience could definitely do with being improved a little here. :)

Tags: rm symlink
Revision history for this message
Pete Kelly (p3k4y) wrote :

I have just seen this behaviour too.

using --force worked.

Vincent Ladeuil (vila)
Changed in bzr:
importance: Undecided → Low
status: New → Triaged
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Marius Kruger (amanica)
tags: added: rm
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.