Switching lightweight checkout shows files in root as being renamed to themselves
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
When I switch my lightweight checkout from one branch to another I get the following status:
renamed:
.bzrignore => .bzrignore
build/ => build/
data/ => data/
pom.xml => pom.xml
pre_commit.sh => pre_commit.sh
widgets/ => widgets/
I have not renamed any files and the files are renamed to themselves which seems like a weird and impossible state to get into.
I'm using Lightweight checkout (format: 2a).
bzr version
Bazaar (bzr) 2.1.1
Python interpreter: /usr/bin/python 2.6.4
Python standard library: /usr/lib/python2.6
Platform: Linux-2.
bzrlib: /usr/lib/
Bazaar configuration: /home/nick/.bazaar
Bazaar log file: /home/nick/.bzr.log
tags: | added: checkout lightweight rename status switch |
tags: | added: check-for-breezy |
It's probably because the file-id of the tree-root is different in the two branches, so from bzr's perspective they are in a different directory that happens to have the same path.
I agree this looks pretty confusing, so we should try to figure out a better way to explain this situation in the status output.
Separately, this isn't a situation that is likely happen very often so I wonder how it happened to you?