checkout silently upgrades repo data

Bug #195971 reported by Robert Collins
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

We have a interoperability issue between plain and subtree/rich-root
with checkout.

bzr init-repo --pack-0.92-subtree local
bzr init mainline
bzr checkout mainline local/tree
cd local/tree
bzr commit -m 'Error'

bzr checkout should not use the shared repository when the remote format
is not bidirectionally compatible.

 affects bzr

Revision history for this message
John A Meinel (jameinel) wrote :

Interestingly enough, going the other way (having source be rich-root and target be normal) fails at "checkout" time with incompatible rich-root information.

I can agree that 'bzr co' should probably recognize that it would be upgrading the data during the fetch, and try to do something different. I'm not 100% sure what the appropriate fix is. Probably just have it create a new standalone repository.

Changed in bzr:
importance: Undecided → Medium
status: New → Triaged
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: format-infrastructure formats
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.