Switching lightweight checkout shows files in root as being renamed to themselves

Bug #564568 reported by Nicholas Allen
6
This bug affects 1 person
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.6.31-19-generic-x86_64-with-Ubuntu-9.10-karmic
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  Bazaar configuration: /home/nick/.bazaar
  Bazaar log file: /home/nick/.bzr.log

tags: added: checkout lightweight rename status switch
Revision history for this message
Andrew Bennetts (spiv) wrote :

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?

Changed in bzr:
importance: Undecided → Low
status: New → Confirmed
tags: added: confusing-ui
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.