upgrade to --development-rich-root in 1.14rc1
Parth Malwankar
parth.malwankar at gmail.com
Thu Apr 9 13:09:42 BST 2009
Hello,
In order to try out the new development format in 1.14rc1
I am trying to upgrade a bzr-svn checkout but it doesn't seem
to be working.
Following is the listing:
[clojure]% xbzr info
Checkout (format: 1.9-rich-root)
Location:
checkout root: .
checkout of branch: http://clojure.googlecode.com/svn/trunk
[clojure]% xbzr check
Checking working tree at 'file:///storage/parth/src/bcore-test/clojure/'.
Checking repository at 'file:///storage/parth/src/bcore-test/clojure/'.
checked repository <bzrlib.transport.local.LocalTransport
url=file:///storage/parth/src/bcore-test/clojure/> format
<RepositoryFormatKnitPack6RichRoot>
1294 revisions
496 file-ids
3399 unique file texts
158239 repeated file texts
0 unreferenced text versions
Checking branch at 'file:///storage/parth/src/bcore-test/clojure/'.
checked branch file:///storage/parth/src/bcore-test/clojure/ format Branch
format 7
[clojure]% xbzr upgrade --development-rich-root
starting upgrade of file:///storage/parth/src/bcore-test/clojure/
making backup of file:///storage/parth/src/bcore-test/clojure/.bzr
to file:///storage/parth/src/bcore-test/clojure/backup.bzr
starting repository conversion
bzr: ERROR: Revision
{('379 at a41a16f3-9855-0410-b325-31a011a03e7c:trunk%2Fsrc%2Fboot.clj',
'svn-v4:a41a16f3-9855-0410-b325-31a011a03e7c:trunk:501')} not present in
"<bzrlib.groupcompress.GroupCompressVersionedFiles object at 0x8caf4ec>".
[clojure]% xbzr version
Bazaar (bzr) 1.14rc1
Python interpreter: /usr/bin/python 2.5.2
Python standard library: /usr/lib/python2.5
bzrlib: /storage/parth/src/bzr/bzr-1.14rc1/bzrlib
Bazaar configuration: /home/parthm/.bazaar
Bazaar log file: /home/parthm/.bzr.log
<snip>
Below is the content of .bzr.log along with the output of "check".
Is this expected? Do I need to do something differently for upgrade?
Regards,
Parth
[clojure]% xbzr check
Checking working tree at 'file:///storage/parth/src/bcore-test/clojure/'.
Checking repository at 'file:///storage/parth/src/bcore-test/clojure/'.
checked repository <bzrlib.transport.local.LocalTransport
url=file:///storage/parth/src/bcore-test/clojure/> format
<RepositoryFormatKnitPack6RichRoot>
1294 revisions
496 file-ids
3399 unique file texts
158239 repeated file texts
0 unreferenced text versions
Checking branch at 'file:///storage/parth/src/bcore-test/clojure/'.
checked branch file:///storage/parth/src/bcore-test/clojure/ format Branch
format 7
[clojure]%
Thu 2009-04-09 17:24:18 +0530
0.029 bzr arguments: [u'upgrade', u'--development-rich-root']
0.054 looking for plugins in /home/parthm/.bazaar/plugins
0.068 looking for plugins in
/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/plugins
0.106 looking for plugins in
/usr/lib/python2.5/site-packages/bzrlib/plugins
0.106 Plugin name netrc_credential_store already loaded
0.106 Plugin name launchpad already loaded
0.206 encoding stdout as sys.stdout encoding 'UTF-8'
0.283 creating repository in
file:///storage/parth/src/bcore-test/clojure/.bzr/.
4.446 checking remap as 8 deletions
4.453 checking remap as 8 deletions
4.845 checking remap as 8 deletions
4.854 remap generated a new LeafNode
4.861 checking remap as 8 deletions
4.960 checking remap as 55 deletions
5.026 checking remap as 55 deletions
5.599 checking remap as 6 deletions
5.616 checking remap as 6 deletions
8.596 checking remap as 6 deletions
8.618 checking remap as 6 deletions
8.644 checking remap as 14 deletions
8.665 checking remap as 14 deletions
14.556 checking remap as 6 deletions
14.574 checking remap as 6 deletions
14.649 checking remap as 128 deletions
14.652 remap generated a new LeafNode
14.705 checking remap as 128 deletions
15.911 Traceback (most recent call last):
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/commands.py", line 727,
in exception_to_return_code
return the_callable(*args, **kwargs)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/commands.py", line 922,
in run_bzr
ret = run(*run_argv)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/commands.py", line 559,
in run_argv_aliases
return self.run(**all_cmd_args)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/builtins.py", line 2970,
in run
upgrade(url, format)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/upgrade.py", line 85, in
upgrade
Convert(url, format)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/upgrade.py", line 40, in
__init__
self.convert()
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/upgrade.py", line 79, in
convert
self.bzrdir = converter.convert(self.bzrdir, self.pb)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/bzrdir.py", line 2712,
in convert
converter.convert(repo, pb)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/repository.py", line
3780, in convert
self.source_repo.copy_content_into(converted)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/repository.py", line
1400, in copy_content_into
return InterRepository.get(self, destination).copy_content(revision_id)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/decorators.py", line
192, in write_locked
result = unbound(self, *args, **kwargs)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/repository.py", line
3037, in copy_content
self.target.fetch(self.source, revision_id=revision_id)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/repository.py", line
1493, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/decorators.py", line
192, in write_locked
result = unbound(self, *args, **kwargs)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/repository.py", line
3705, in fetch
self._fetch_all_revisions(revision_ids, pb)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/repository.py", line
3663, in _fetch_all_revisions
basis_id = self._fetch_batch(batch, basis_id, cache)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/repository.py", line
3628, in _fetch_batch
not self.target._format._fetch_uses_deltas))
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/groupcompress.py", line
1288, in insert_record_stream
for _ in self._insert_record_stream(stream, random_id=False):
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/groupcompress.py", line
1382, in _insert_record_stream
bytes = adapter.get_bytes(record)
File "/storage/parth/src/bzr/bzr-1.14rc1/bzrlib/knit.py", line 232, in
get_bytes
raise errors.RevisionNotPresent(compression_parent, self._basis_vf)
RevisionNotPresent: Revision
{('379 at a41a16f3-9855-0410-b325-31a011a03e7c:trunk%2Fsrc%2Fboot.clj',
'svn-v4:a41a16f3-9855-0410-b325-31a011a03e7c:trunk:501')} not present in
"<bzrlib.groupcompress.GroupCompressVersionedFiles object at 0x8caf4ec>".
15.911 return code 3
More information about the bazaar
mailing list