Problem trying to specify a revision number for bzr-externals

Alexander Belchenko bialix at ukr.net
Sat Apr 17 00:55:56 BST 2010


Patrick van der Velde пишет:
> Hi All
> 
> I'm trying to add an externals reference to my repository. It all
> works fine when I don't have a revision specifier but as soon as I add
> one I get a bzr internal error. The documentation for externals states
> that revision specifiers are legal. Any ideas on what is wrong? 

Please file a bug.

> My
> command line is:
> 
> bzr externals-add 'D:\repository\dev\lib\caliburn' lib/caliburn --revision 1
> 
> And then the error is:
> 
> bzr: ERROR: exceptions.TypeError: sequence item 4: expected string or
> Unicode, list found
> 
> Traceback (most recent call last):
>   File "bzrlib\commands.pyo", line 853, in exception_to_return_code
>   File "bzrlib\commands.pyo", line 1055, in run_bzr
>   File "bzrlib\commands.pyo", line 661, in run_argv_aliases
>   File "bzrlib\commands.pyo", line 665, in run_direct
>   File "bzrlib\cleanup.pyo", line 122, in run_simple
>   File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
>   File "C:/Program Files (x86)/Bazaar/plugins\externals\commands.py",
> line 79, in run
> TypeError: sequence item 4: expected string or Unicode, list found
> 
> bzr 2.1.1 on python 2.5.4 (Windows-Vista-6.1.7600)
> arguments: ['C:\\Program Files (x86)\\Bazaar\\bzr.exe',
> 'externals-add', 'D:\\repository\\dev\\lib\\caliburn', 'lib/caliburn',
> '--revision', '1']
> encoding: 'cp1252', fsenc: 'mbcs', lang: None
> plugins:
>   bookmarks            C:\Program Files (x86)\Bazaar\plugins\bookmarks [unknown]
>   bzrtools             C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.1.0]
>   explorer             C:\Program Files (x86)\Bazaar\plugins\explorer [1.0.1]
>   externals            C:\Program Files (x86)\Bazaar\plugins\externals [1.3.0]
>   launchpad            C:\Program Files (x86)\Bazaar\plugins\launchpad [2.1.1]
>   netrc_credential_store C:\Program Files
> (x86)\Bazaar\plugins\netrc_credential_store [2.1.1]
>   news_merge           C:\Program Files (x86)\Bazaar\plugins\news_merge [2.1.1]
>   qbzr                 C:\Program Files (x86)\Bazaar\plugins\qbzr [0.18.4]
>   rebase               C:\Program Files (x86)\Bazaar\plugins\rebase [0.5.5]
>   svn                  C:\Program Files (x86)\Bazaar\plugins\svn [1.0.2]
>   upload               C:\Program Files (x86)\Bazaar\plugins\upload [1.0.0dev]
>   xmloutput            C:\Program Files (x86)\Bazaar\plugins\xmloutput
> [0.8.7.dev]
> 
> *** 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://bugs.launchpad.net/bzr/+filebug
>     including this traceback and a description of the problem.
> 
> Thanks
> 
> Patrick
> 
> 




More information about the bazaar mailing list