Bazaar 0.90.0 problem merging back to Subversion
John Arbash Meinel
john at arbash-meinel.com
Mon Feb 11 19:22:42 GMT 2008
Russel Winder wrote:
> On Sat, 2008-02-02 at 14:39 +0100, Jelmer Vernooij wrote:
>
>> You can force older versions of bzr-svn to use rich-root-pack by using a
>> shared repository:
>>
>> $ bzr init-repo --rich-root-pack myrepo
>> $ cd myrepo
>> $ bzr branch svn://svn.samba.org/somerepo/trunk
>
> I tried this and got the following error. I think I will probably just
> wait till 0.4.7 is released for Gutsy and then recheckout/rebranch the
> two repositories.
>
>
> |> bzr init-repo --rich-root-pack ConcertantLLP
> |> cd ConcertantLLP
> |> bzr co svn
> +ssh://svn.concertant.com/home/subversion_repositories/ConcertantLLP
> bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no
> attribute
> 'abort'
>
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 806,
> in run_bzr_catch_errors
> return run_bzr(argv)
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 762,
> in run_bzr
> ret = run(*run_argv)
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492,
> in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 989,
> in run
> accelerator_tree)
> File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/branch.py",
> line 192, in create_checkout
> return self._create_heavyweight_checkout(to_location, revision_id)
> File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/branch.py",
> line 145, in _create_heavyweight_checkout
> checkout_branch.pull(self, stop_revision=revision_id)
> File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line
> 167, in write_locked
> self.unlock()
> File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1366,
> in unlock
> self.repository.unlock()
> File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py",
> line 2005, in unlock
> self.abort_write_group()
> File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line
> 482, in abort_write_group
> self._abort_write_group()
> File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py",
> line 1847, in _abort_write_group
> self._pack_collection._abort_write_group()
> File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py",
> line 1651, in _abort_write_group
> self._new_pack.abort()
> AttributeError: 'NoneType' object has no attribute 'abort'
>
Well, this looks like a nested set of problems. This specific traceback has been
fixed. (It happens when you abort a write transaction without anything written yet.)
Unfortunately that means we don't know what the real error is.
If you could update your bzr to a newer version, that would give us a better
idea of what is happening in bzr-svn.
John
=:->
More information about the bazaar
mailing list