reconfigure always uses default formats
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
reconfigure allows to change lightweight checkout to heavyweight checkout, or repository branch/tree to standalone branch/tree. Unfortunately for this operations this command wrongly using default formats for branch/repo. It's wrong.
To reproduce:
C:\Temp>bzr init-repo --1.9 1.9
Shared repository with trees (format: 1.9 or development-wt5)
Location:
shared repository: 1.9
C:\Temp\1.9>bzr init branch --1.9
Created a repository tree (format: 1.9)
Using shared repository: C:/Temp/1.9/
C:\Temp\1.9>bzr info branch
Repository tree (format: 1.9)
Location:
shared repository: .
repository branch: branch
C:\Temp\1.9>bzr reconfigure branch --standalone
C:\Temp\1.9>bzr info branch
Standalone tree (format: unnamed)
Location:
branch root: branch
C:\Temp\1.9>bzr info branch -v
Standalone tree (format: unnamed)
Location:
branch root: branch
Format:
control: Meta directory format 1
working tree: Working tree format 4
branch: Branch format 7
repository: Packs containing knits without subtree support
In the working tree:
0 unchanged
0 modified
0 added
0 removed
0 renamed
0 unknown
0 ignored
0 versioned subdirectories
Branch history:
0 revisions
Repository:
0 revisions
This is wrong. Similar wrong behavior and for reconfigure light checkout to full checkout.
bzr 1.13.1
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- reconfigure always use default formats + reconfigure always uses default formats |
tags: | added: formats reconfigure |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | removed: check-for-breezy |
Perhaps more interestingly:
bronson@ fry:~/devel/ dosemu2$ bzr info -v bronson/ devel/dosemu- repo/hackz bronson/ devel/dosemu- repo
Lightweight checkout (format: 1.6 or 1.6.1-rich-root or 1.9 or 1.9-rich-root or dirstate or dirstate-tags or pack-0.92 or rich-root or rich-root-pack)
Location:
light checkout root: .
checkout of branch: /home/noncsci/
shared repository: /home/noncsci/
Related branches: hacking/ dosemu- repo/trunk
parent branch: /home/naesten/
Format:
control: Meta directory format 1
working tree: Working tree format 4
branch: Branch format 7
repository: Packs 6 rich-root (uses btree indexes, requires bzr 1.9)
In the working tree:
867 unchanged
0 modified
0 added
0 removed
0 renamed
395 unknown
278 ignored
82 versioned subdirectories
Branch history:
1647 revisions
2117 days old
first revision: Sun 2003-06-22 23:02:05 +0000
latest revision: Thu 2009-04-02 17:18:06 -0400
Repository: fry:~/devel/ dosemu2$ bzr reconfigure --checkout ory('file: ///home/ noncsci/ bronson/ devel/dosemu2/ .bzr/repository /') ory('file: ///home/ noncsci/ bronson/ devel/dosemu- repo/.bzr/ repository/ ')
1859 revisions
bronson@
bzr: ERROR: KnitPackReposit
is not compatible with
KnitPackReposit
different rich-root support