Comment 9 for bug 702870

Revision history for this message
Patrick Noffke (patrick-noffke) wrote : Re: bzr crashed on push to a subversion repository

Using trunk bzr-svn and bzr 2.3.0, I get the same error:

$ bzr push
Unable to load plugin 'rewrite'. It requested API version (2, 2, 0) of module <module 'bzrlib' from '/home/pnoffke/lib64/python/bzrlib/__init__.pyc'> but the minimum exported version is (2, 3, 0), and the maximum is (2, 3, 0)
Unable to load plugin 'qbzr'. It requested API version (2, 2, 0) of module <module 'bzrlib' from '/home/pnoffke/lib64/python/bzrlib/__init__.pyc'> but the minimum exported version is (2, 3, 0), and the maximum is (2, 3, 0)
Using saved push location: svn+http://smartrack/svn/AVS/trunk
<http://smartrack:80> Quad Source Code Repository pnoffke password:
bzr: ERROR: subvertpy.SubversionException: ("File or directory '.' is out of date; try updating", 160024)

Traceback (most recent call last):
  File "/home/pnoffke/lib64/python/bzrlib/commands.py", line 923, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/pnoffke/lib64/python/bzrlib/commands.py", line 1123, in run_bzr
    ret = run(*run_argv)
  File "/home/pnoffke/lib64/python/bzrlib/commands.py", line 691, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/pnoffke/lib64/python/bzrlib/commands.py", line 710, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/home/pnoffke/lib64/python/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/home/pnoffke/lib64/python/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/pnoffke/lib64/python/bzrlib/builtins.py", line 1132, in run
    use_existing_dir=use_existing_dir, no_tree=no_tree)
  File "/home/pnoffke/lib64/python/bzrlib/push.py", line 140, in _show_push_branch
    remember, create_prefix)
  File "/home/pnoffke/.bazaar/plugins/svn/remote.py", line 278, in push_branch
    overwrite=overwrite)
  File "/home/pnoffke/lib64/python/bzrlib/branch.py", line 1095, in push
    *args, **kwargs)
  File "/home/pnoffke/.bazaar/plugins/svn/branch.py", line 1031, in push
    override_svn_revprops=_override_svn_revprops)
  File "/home/pnoffke/.bazaar/plugins/svn/branch.py", line 941, in _update_revisions
    push_merged, overwrite=overwrite)
  File "/home/pnoffke/.bazaar/plugins/svn/push.py", line 243, in push_branch
    overwrite=overwrite)
  File "/home/pnoffke/.bazaar/plugins/svn/push.py", line 265, in push
    override_svn_revprops=target_config.get_override_svn_revprops())
  File "/home/pnoffke/.bazaar/plugins/svn/push.py", line 179, in push_revision_tree
    revid = builder.commit(rev.message)
  File "/home/pnoffke/.bazaar/plugins/svn/errors.py", line 140, in convert
    return unbound(*args, **kwargs)
  File "/home/pnoffke/.bazaar/plugins/svn/commit.py", line 781, in commit
    root_from, replace_existing)
  File "/home/pnoffke/.bazaar/plugins/svn/commit.py", line 591, in open_branch_editors
    ret[-1].delete_entry(name, -1)
SubversionException: ("File or directory '.' is out of date; try updating", 160024)

bzr 2.3.0 on python 2.7.0 (Linux-2.6.35.11-83.fc14.x86_64-x86_64-with-fedora-14-Laughlin)
arguments: ['/home/pnoffke/bin/bzr', 'push']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bash_completion /home/pnoffke/lib64/python/bzrlib/plugins/bash_completion [2.3.0]
  extmerge /home/pnoffke/.bazaar/plugins/extmerge [unknown]
  launchpad /home/pnoffke/lib64/python/bzrlib/plugins/launchpad [2.3.0]
  netrc_credential_store /home/pnoffke/lib64/python/bzrlib/plugins/netrc_credential_store [2.3.0]
  news_merge /home/pnoffke/lib64/python/bzrlib/plugins/news_merge [2.3.0]
  svn /home/pnoffke/.bazaar/plugins/svn [1.1.0dev]

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