bzr-svn push to new subversion repo

Michael Gliwinski Michael.Gliwinski at henderson-group.com
Thu May 12 12:27:44 UTC 2011


Hello all,

I'm encountering some problems when trying to push from a native bzr branch to
a newly created subversion repo, e.g.:

  $ svnadmin create svnrepo
  $ bzr push -d bzrbranch file:///$PWD/svnrepo/trunk

I decided to post here first as I seem to be getting different errors with
different versions of bzr-svn but they always fail near the same revision so
there may be something wrong with my branch.

With bzr-svn 1.0.4 (specifically r3475 as it declares compatibility with bzr 2.3):

it stops on rev 200 with error:

Initialising Subversion metadata cache in /home/gliwm/.cache/bazaar/svn/e8f700c6-bbab-4cbe-a892-6790682ae729.
bzr: ERROR: exceptions.OSError: [Errno 24] Transaction cleanup failed                                                                                

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 926, in exception_to_return_code
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1126, in run_bzr
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 691, in run_argv_aliases
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 713, in run
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1132, in run
  File "/usr/lib/python2.7/dist-packages/bzrlib/push.py", line 140, in _show_push_branch
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/remote.py", line 297, in push_branch
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/remote.py", line 224, in import_branch
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 347, in push_new_branch
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 217, in push_branch
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 239, in push
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 153, in push_revision_tree
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/errors.py", line 144, in convert
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/commit.py", line 840, in commit
OSError: [Errno 24] Transaction cleanup failed


With bzr-svn r3710:

stops on rev 200 with error:

Initialising Subversion metadata cache in /home/gliwm/.cache/bazaar/svn/9db85476-3b6e-476e-8872-57a84ff192d1.
bzr: ERROR: exceptions.AssertionError: adding busy connection in pool

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 926, in exception_to_return_code
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1126, in run_bzr
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 691, in run_argv_aliases
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 713, in run
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1132, in run
  File "/usr/lib/python2.7/dist-packages/bzrlib/push.py", line 140, in _show_push_branch
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/remote.py", line 403, in push_branch
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/remote.py", line 329, in import_branch
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 557, in push_new_branch
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 358, in push_todo
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 395, in push_revision_series
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 413, in push_revision_inclusive
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 443, in push_single_revision
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/push.py", line 179, in push_revision_tree
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/errors.py", line 140, in convert
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/commit.py", line 796, in commit
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/transport.py", line 395, in add_connection
  File "/home/gliwm/.local/tmp/bzr-svn-push-test/bzr-plugins/svn/transport.py", line 323, in add
AssertionError: adding busy connection in pool


bzr.log extracts with details are rather large so I'm not sending them to the
list, there does not seem to be anything interesting in them apart from the
traceback but if it turns out to be a bug I can attach them to the bug report.

bzr check doesn't show any problems with the source branch.  Any ideas on what
else to look for?


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**********************************************************************************************
The information in this email is confidential and may be legally privileged.  It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed  in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************




More information about the bazaar mailing list