[bzr-svn] When using auto layout, error appeared, so what's the cause?

罗勇刚(Yonggang Luo) luoyonggang at gmail.com
Sun Jul 31 15:15:41 UTC 2011


I was using my own source code
*lp:~luoyonggang/bzr-svn/b3
*

D:\CI\bld\b>run.bat

D:\CI\bld\b>rm -rf l*

D:\CI\bld\b>bzr svn-import --layout auto svn://localhost/br/llvm l1
('AutoDetectCopyLayout with log',
<bzrlib.plugins.svn.logwalker.CachingLogWalker object at 0x02F99A10>,
'/llvm/')
WARNING:Path /llvm has copy from None and not in an branch in revision:1
WARNING:Path /llvm/branches has copy from None and not in an branch in
revision:1
WARNING:Path /llvm/tags has copy from None and not in an branch in
revision:1
Try add branch /llvm/trunk by using path trunk on revision 1 copy from None!
Add branch /llvm/trunk with ['/trunk', 0, 1, True]!
Try add branch /llvm/branches/chaos by using path chaos on revision 2 copy
from None!
Add branch /llvm/branches/chaos with ['/trunk', 0, 2, True]!
Add branch /llvm/branches/fine with ['/llvm/trunk', 1, 4, True]!
Add branch /llvm/branches/chaos/b with ['/llvm/trunk', 4, 6, True]!
Add branch /llvm/branches/chaos/d with ['/llvm/trunk', 4, 8, True]!
Try add branch /llvm/branches/apple by using path apple on revision 9 copy
from None!
Add branch /llvm/branches/apple with ['/trunk', 0, 9, True]!
Add branch /llvm/branches/apple/a with ['/llvm/trunk', 8, 10, True]!
Add branch /llvm/branches/apple/b with ['/llvm/trunk', 8, 11, True]!
Try add branch /llvm/branches/history by using path history on revision 13
copy from None!
Add branch /llvm/branches/history with ['/trunk', 0, 13, True]!
Add branch /llvm/branches/history/a with ['/llvm/trunk', 8, 14, True]!
Add branch /llvm/branches/history/b with ['/llvm/trunk', 8, 15, True]!
Add branch /llvm/tags/good with ['/llvm/branches/apple/a', 10, 16, True]!
Add branch /llvm/tags/goodb with ['/llvm/branches/apple/b', 11, 17, True]!
Add branch /llvm/tags/chaosa with ['/llvm/branches/chaos/d', 8, 18, True]!
WARNING:Path /unicode has copy from None and not in an branch in revision:25
WARNING:Path /unicode/1 has copy from None and not in an branch in
revision:25
WARNING:Path /unicode/2 has copy from None and not in an branch in
revision:25
AutoDetectCopyLayout finished
Using repository layout: auto
parse llvm/branches/history/a/Are you sure.txt:24
parse llvm/branches/history/a:24nches 2/26
parse llvm/branches/apple/b/GOOD.txt:23
parse llvm/branches/chaos/d/sametime.txt:23
parse llvm/branches/fine/TODO.txt:23
parse llvm/trunk/funny.txt:23
parse llvm/branches/fine:23
parse llvm/branches/apple/b:23
parse llvm/trunk:23
parse llvm/branches/chaos/d:23
parse llvm/trunk/modifydefault.txt:22
parse llvm/branches/history/wow:21
parse llvm/branches/history/wow/goodoptions.txt:21
parse llvm/branches/history:21
parse llvm/branches/history/readme.txt:20
parse llvm/branches/history/a/HA.txt:19
parse llvm/tags/chaosa:18
parse llvm/tags/goodb:17
parse llvm/tags/good:16
parse llvm/tags/good/WHyApple.txt:16
parse llvm/branches/history/b:15
parse llvm/branches/history/b:15
parse llvm/branches/history/a:14
parse llvm/branches/history:13
parse llvm/branches/apple/a/WHyApple.txt:12
parse llvm/branches/apple/a:12
parse llvm/branches/apple/b:11
parse llvm/branches/apple/a:10
parse llvm/branches/apple:9
parse llvm/branches/apple:9
parse llvm/branches/chaos/d:8
parse llvm/branches/chaos/a:7
('is_parent', 'llvm/branches/chaos/a', 'branch', False)
('is_parent', 'llvm/branches/chaos/a', 'tag', False)
parse llvm/branches/chaos:7
parse llvm/branches/chaos/b:6
parse llvm/branches/chaos/b:6
parse llvm/branches/chaos/a:5
parse llvm/branches/chaos/a/TODO.txt:5
parse llvm/branches/chaos/a/a:5
parse llvm/branches/chaos/a/a/a.txt:5
parse llvm/branches/chaos/a/b:5
parse llvm/branches/chaos/a/b/b.txt:5
parse llvm/branches/fine:4
parse llvm/branches/fine/a:4
parse llvm/branches/fine/b:4
parse llvm/trunk/a:3
parse llvm/trunk/a/a.txt:3
parse llvm/trunk/b:3
parse llvm/trunk/b/b.txt:3
parse llvm/branches/chaos:2
parse llvm/branches/chaos/README.TXT:2
parse llvm:1
parse llvm/branches:1
parse llvm/tags:1
parse llvm/trunk:1
parse llvm/trunk/TODO.txt:1
bzr: ERROR: bzrlib.errors.NoSuchRevision:
CHKInventoryRepository('file:///D:/CI/bld/b/l1/.bzr/repository/') has no
revision ('svn-v4:c19a81e
0-789f-1047-ad32-a6eb670b4137:llvm/branches/chaos:6',)

Traceback (most recent call last):
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\commands.py",
line 926, in exception_to_return_code
   return the_callable(*args, **kwargs)
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\commands.py",
line 1126, in run_bzr
   ret = run(*run_argv)
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\commands.py",
line 691, in run_argv_aliases
   return self.run(**all_cmd_args)
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\commands.py",
line 713, in run
   return self._operation.run_simple(*args, **kwargs)
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\cleanup.py",
line 135, in run_simple
   self.cleanups, self.func, *args, **kwargs)
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\cleanup.py",
line 165, in _do_with_cleanups
   result = func(*args, **kwargs)
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\plugins\svn\commands.py",
line 169, in run
   incremental=not restore, to_revnum=to_revnum, prefix=prefix)
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\plugins\svn\convert.py",
line 357, in convert_repository
   RepositoryConverter(*args, **kwargs)
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\plugins\svn\convert.py",
line 244, in __init__
   revfinder, mapping, heads)
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\plugins\svn\convert.py",
line 283, in _fetch_to_shared_repo
   inter.fetch(needed=missing)
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\plugins\svn\fetch.py",
line 1568, in fetch
   pack_hint = self._fetch_revisions(needed, pb)
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\plugins\svn\fetch.py",
line 1493, in _fetch_revisions
   use_replay=self._use_replay)
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\plugins\svn\fetch.py",
line 1455, in _fetch_revisions_nochunks
   editor = self._get_editor(revmeta, mapping)
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\plugins\svn\fetch.py",
line 1361, in _get_editor
   bzr_parent_trees = self._get_parent_trees(revmeta, mapping)
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\plugins\svn\fetch.py",
line 1346, in _get_parent_trees
   parent_trees = [self.target.revision_tree(parent_revids[0])]
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\decorators.py",
line 140, in read_locked
   result = unbound(self, *args, **kwargs)
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\repository.py",
line 2596, in revision_tree
   inv = self.get_inventory(revision_id)
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\decorators.py",
line 140, in read_locked
   result = unbound(self, *args, **kwargs)
 File "D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\repository.py",
line 2423, in get_inventory
   return self.iter_inventories([revision_id]).next()
 File
"D:\CI\Tools\Building\Python\lib\site-packages\bzrlib\repofmt\groupcompress_repo.py",
line 1018, in _iter_inventories
   raise errors.NoSuchRevision(self, record.key)
NoSuchRevision:
CHKInventoryRepository('file:///D:/CI/bld/b/l1/.bzr/repository/') has no
revision ('svn-v4:c19a81e0-789f-1047-ad32-a6eb670b4
137:llvm/branches/chaos:6',)

bzr 2.3.3 on python 2.7.1 (Windows-7-6.1.7601-SP1)
arguments: ['D:\\CI\\Tools\\Building\\Python\\Scripts\\bzr', 'svn-import',
'--
   layout', 'auto', 'svn://localhost/br/llvm', 'l1']
plugins: bash_completion[2.3.3], launchpad[2.3.3],
   netrc_credential_store[2.3.3], news_merge[2.3.3], svn[1.1.0dev]
encoding: 'cp936', fsenc: 'mbcs', lang: None

*** 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.

D:\CI\bld\b>


-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110731/2761a3ed/attachment.html>


More information about the bazaar mailing list