bzr unable to branch underneath checkout inside shared repo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is very complex issue to describe by words. bzr fails to create branch nested into checkout in the case when checkout does not use shared repository, but in fact there is shared repository. IIUC bzr at the beginning of branch operation opened shared repo but then it tries to open it again and see non-shared repo inside checkout and fails at this step with error.
I'd better to show you sequence of commands:
C:\Temp\3>bzr init a
Created a standalone tree (format: pack-0.92)
C:\Temp\3>bzr ci a -m1 --unchanged
Committing to: C:/Temp/3/a/
Committed revision 1.
C:\Temp\3>mkdir repo
C:\Temp\3>bzr co a repo/a-co
C:\Temp\3>bzr init-repo repo
Shared repository with trees (format: pack-0.92)
Location:
shared repository: repo
C:\Temp\3>bzr branch a repo/a-co/a-branch
bzr: ERROR: No repository present: "file:/
Here is relevant part of .bzr.log:
0.172 bzr arguments: [u'branch', u'a', u'repo/
0.203 looking for plugins in C:\work\
0.422 looking for plugins in C:/Program Files/Bazaar/
0.469 encoding stdout as sys.stdout encoding 'cp866'
0.547 opening working tree 'C:/Temp/3/a'
0.610 opening working tree 'C:/Temp/3/a'
0.641 Using fetch logic to copy between KnitPackReposit
0.688 creating branch <bzrlib.
0.703 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
NoRepositoryPre
Changed in bzr: | |
milestone: | none → 1.15final |
status: | Incomplete → Fix Released |
I can't reproduce this.