reconfigure --standalone raises IncompatibleRepositories
Bug #248932 reported by
Martin von Gagern
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Martin von Gagern |
Bug Description
$ bzr init-repo --rich-root-pack repo
$ cd repo
$ bzr init branch
$ cd branch
$ bzr reconfigure --standalone
bzr: ERROR: Repository KnitPackReposit
bzr version: bzr.dev r3542 (1.6b3).
Same problem for --rich-root, but not for --pack-0.92.
Seems to make no difference whether the branch has seen any commits or not.
State of the branch seems to be standalone afterwards, but I'm not sure everything got migrated.
Related branches
lp:~gagern/bzr/bug248932
(Merged)
Changed in bzr: | |
assignee: | nobody → Martin von Gagern (gagern) |
status: | Confirmed → Fix Released |
To post a comment you must log in.
I've got a backtrace for you:
bzrlib/ commands. py(848) main() catch_errors( argv) commands. py(857) run_bzr_ catch_errors( ) commands. py(797) run_bzr( ) commands. py(499) run_argv_ aliases( ) **all_cmd_ args) builtins. py(4417) run() .apply( force) reconfigure. py(258) apply() branch. last_revision( )) repository. py(963) fetch() IncompatibleRep ositories( source, self)
-> ret = run_bzr_
bzrlib/
-> return run_bzr(argv)
bzrlib/
-> ret = run(*run_argv)
bzrlib/
-> return self.run(
bzrlib/
-> reconfiguration
bzrlib/
-> self.local_
bzrlib/
-> raise errors.
I did some more debugging. The immediate cause seems to be a NotImplementedError raised by InterRepository .fetch, which is due to the lack of a specialized InterRepository provider, which in turn is due to the fact that the _same_model check fails because source. supports_ rich_root( ) == True but target. supports_ rich_root( ) == False.