bzr reconfigure can't fix dangling paths

Bug #1076810 reported by Maciej Katafiasz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

Sister of bug #1076809:

I have a collocated branch created on Windows, moved to Linux via a straightforward zip of the entire directory. The checkouts are broken by the fact an absolute path is saved, and bzr reconfigure tries to open the old path, which makes it impossible to use to fix the dangling references.

mathrick@megumi:~/Dropbox/sagsportal $ bzr info
Dangling branch reference (format: 2a or pack-0.92)
Location:
   control directory: .
  checkout of branch: /C:/Documents and Settings/trendware/Skrivebord/sagsportal/.bzr/branches/trunk

mathrick@megumi:~/Dropbox/sagsportal $ bzr reconfigure --lightweight-checkout --bind-to .bzr/branches/trunk/
bzr: ERROR: Not a branch: "/C:/Documents and Settings/trendware/Skrivebord/sagsportal/.bzr/branches/trunk/".

Revision history for this message
Vincent Ladeuil (vila) wrote :

As discussed on IRC, in the special case where the existing branch path is broken but a new one is provided from the command line, it's worth fixing:

  bzr reconfigure --force --bind-to <valid path to branch>

where --force tells bzr to ignore the broken existing path.

Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
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.