bzr-svn occasionally causes push failure

Bug #825256 reported by
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin

Bug Description

When I try to push local commit to svn, some times I see this crash:

Using saved push location: svn+ssh://peter.cai@calltrunk/sites/svn/cms/site/trunk
bzr: failed to report crash using apport:
     OSError(13, 'Permission denied')
bzr: ERROR: bzrlib.plugins.svn.errors.InvalidBzrSvnRevision: Revision id <email address hidden> was added incorrectly

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/bzrlib/", line 924, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/", line 1124, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/pymodules/python2.6/bzrlib/", line 689, in run_argv_aliases
  File "/usr/lib/pymodules/python2.6/bzrlib/", line 711, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/bzrlib/", line 1132, in run
    use_existing_dir=use_existing_dir, no_tree=no_tree)
  File "/usr/lib/pymodules/python2.6/bzrlib/", line 140, in _show_push_branch
    remember, create_prefix)
  File "/home/peter/.bazaar/plugins/svn/", line 389, in push_branch
  File "/usr/lib/pymodules/python2.6/bzrlib/", line 1098, in push
    *args, **kwargs)
  File "/home/peter/.bazaar/plugins/svn/", line 946, in push
  File "/home/peter/.bazaar/plugins/svn/", line 886, in _update_revisions
    self._push(stop_revision, overwrite=overwrite, push_metadata=True)
  File "/home/peter/.bazaar/plugins/svn/", line 875, in _push,
  File "/home/peter/.bazaar/plugins/svn/", line 348, in push_branch
  File "/home/peter/.bazaar/plugins/svn/", line 369, in push_todo
  File "/home/peter/.bazaar/plugins/svn/", line 401, in push_revision_series
    base_revid, target_branch)
  File "/home/peter/.bazaar/plugins/svn/", line 232, in _get_foreign_revision_info
  File "/home/peter/.bazaar/plugins/svn/", line 1089, in lookup_bzr_revision_id
    return self.revmap.get_branch_revnum(revid, layout, project)
  File "/home/peter/.bazaar/plugins/svn/", line 290, in get_branch_revnum
    branch_path, min_revnum, max_revnum)
  File "/home/peter/.bazaar/plugins/svn/", line 174, in bisect_fileprop_revid_revnum
    raise InvalidBzrSvnRevision(revid)
InvalidBzrSvnRevision: Revision id <email address hidden> was added incorrectly

bzr 2.3.4 on python 2.6.6 (Linux-2.6.38-020638-generic-x86_64-with-
arguments: ['/usr/bin/bzr', 'push']
plugins: bash_completion[2.3.4], bzrtools[2.3.1], dbus[0.1.0dev],
    gtk[0.100.0], launchpad[2.3.4], netrc_credential_store[2.3.4],
    news_merge[2.3.4], qbzr[0.20.1], rewrite[0.7.0dev], svn[1.1.0dev]
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.utf8'

*** 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
    including this traceback and a description of the problem.

visibility: public → private
John A Meinel (jameinel)
visibility: private → public
affects: bzr → bzr-svn
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

So this happens sometimes during a push but the next push works fine?

Changed in bzr-svn:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → Low
Revision history for this message (ablmf) wrote :

Yeah. The second push would do the job.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Thanks for confirming. It sounds like there is a race condition at play here somewhere.

Changed in bzr-svn:
importance: Low → Medium
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers