Initializing colocated branch fails with "set_reference() takes exactly 4 arguments"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Fix Released
|
High
|
Neil Martinsen-Burrell |
Bug Description
I'm running Bazaar 2.2.0 on Windows XP.
Using Bazaar Explorer I was trying to initialize a new branch.
- The workspace model is Colocated branches
- no options selected
- format is 2.0 default
The following is the traceback generated when it attempts the initialization.
Run command: bzr new --colocated-
Unable to load plugin u'rebase'. It requested API version (2, 1, 0) of module <module 'bzrlib' from 'D:\Tools\
Created repository with treeless branches at Z:/Verification
Created branch at Z:/Verification
Created working tree at Z:/Verification
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "D:/Tools/
File "D:/Tools/
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "D:/Tools/
File "D:/Tools/
File "D:/Tools/
File "D:/Tools/
TypeError: set_reference() takes exactly 4 arguments (3 given)
bzr 2.2.0 on python 2.6.4 (Windows-
arguments: ['D:\\Tools\
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools D:\Tools\
colo D:\Tools\
explorer D:\Tools\
fastimport D:\Tools\
launchpad D:\Tools\
loom D:\Tools\
netrc_
news_merge D:\Tools\
pipeline D:\Tools\
qbzr D:\Tools\
rewrite D:\Tools\
svn D:\Tools\
upload D:\Tools\
xmloutput D:\Tools\
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
Related branches
- Alexander Belchenko: Approve
-
Diff: 78 lines (+40/-1)4 files modifiedNEWS (+5/-0)
lib/workspace_models.py (+6/-1)
tests/__init__.py (+1/-0)
tests/test_new.py (+28/-0)
affects: | bzr → bzr-explorer |
Changed in bzr-explorer: | |
assignee: | nobody → Neil Martinsen-Burrell (nmb) |
assignee: | Neil Martinsen-Burrell (nmb) → nobody |
status: | Confirmed → Fix Released |
milestone: | none → 1.1.2 |
assignee: | nobody → Neil Martinsen-Burrell (nmb) |
summary: |
- Initializing colocated branch fails. + Initializing colocated branch fails with "set_reference() takes exactly + 4 arguments" |
Launchpad Bug Tracker пишет: Bazaar/ plugins\ explorer\ lib\workspace_ models. py", line 311, in _switch_checkout
> You have been subscribed to a public bug:
>
> I'm running Bazaar 2.2.0 on Windows XP.
>
> Traceback (most recent call last):
...
> File "D:/Tools/
> TypeError: set_reference() takes exactly 4 arguments (3 given)
It used to work in bzr 2.1.2 and earlier, so I suppose bzr-explorer
needs to be updated to proper support bzr 2.2
As workaround: if you have bzr-colo plugin installed then please use
"All commands" button and select colo-init command here. It should
successfully init colocated workspace for you.