AssertionError on push -r x

Bug #230863 reported by Forest Bond
14
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Low
Jelmer Vernooij

Bug Description

$ bzr push -r169
Using saved location: svn+http://svn.local.network/logistix/trunk
bzr: ERROR: exceptions.AssertionError:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 841, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 859, in run
    stop_revision=revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1612, in push
    _override_hook_source_branch=_override_hook_source_branch)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1654, in _push_with_bound_branches
    result = self._basic_push(target, overwrite, stop_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1673, in _basic_push
    target.update_revisions(self, stop_revision)
  File "/home/forest.bond/.bazaar/plugins/svn/branch.py", line 363, in update_revisions
    push(self, other, revid)
  File "/home/forest.bond/.bazaar/plugins/svn/commit.py", line 722, in push
    push_revision_tree(target, target.get_config(), source.repository, base_revid, revision_id, rev)
  File "/home/forest.bond/.bazaar/plugins/svn/commit.py", line 689, in push_revision_tree
    builder.commit(rev.message)
  File "/home/forest.bond/.bazaar/plugins/svn/commit.py", line 516, in commit
    assert self._new_revision_id is None or self._new_revision_id == revid
AssertionError

bzr 1.5rc1 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'push', '-r169']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.92.0dev0]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.4.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  loom /home/forest.bond/.bazaar/plugins/loom [1.3.0]
  rebase /home/forest.bond/.bazaar/plugins/rebase [0.3.0]
  svn /home/forest.bond/.bazaar/plugins/svn [0.4.10]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 230863] [NEW] AssertionError on push -r x

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hmm, this isn't the first time this has come up, but there's no easy
way of reproducing it (nor do I have any ideas what may be causing it)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSCypKQy0JeEGD2blAQLvrwP+MLIjmWIMQcUYrFWlUY1WxV0J4DYFUmjb
9HU6ilk/Im4mbMW3fqQEqyypiPWGScuf9e7LBBZuv2m6ZJvQ4EvmiefhO8KcUX/S
M8ypUjid+YOYLi3dMquMvtxifOJUxYrPa2syJtWxNLkZ9q5JSXkXNSKXFynyvN/0
tP0vBhljmoc=
=aRrJ
-----END PGP SIGNATURE-----

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jelmer Vernooij wrote:
> Hmm, this isn't the first time this has come up, but there's no
> easy way of reproducing it (nor do I have any ideas what may be
> causing it)
  status confirmed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCUAwUBSCyrcgy0JeEGD2blAQIduQP42xlwGYnO8mPSBDA6MOpRFg8hy/BNbugT
lN03xNU9tc6SteBAu1W/8s8Wfg6Zg29XiqxxeY7r0YBr5Jq70/6a86j4cgR91NJ8
uZ0tLNhpu8DzU4G5CDOtCBRHpU3oTf7KyMJYV837AakeoYPrjTsZckVMt28SU8BS
CPjWNRWSnw==
=3nvX
-----END PGP SIGNATURE-----

Changed in bzr-svn:
status: New → Confirmed
Revision history for this message
Stephen Emslie (stephenemslie) wrote :

I encountered this problem while trying to svn-push after rebasing a branch. It seems like the rebase was confusing bzr-svn's cache, so the workaround that worked for me was to clear ~/.bazaar/svn-cache before the rebase and before the svn-push so that a new cache is rebuilt each time.

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

I doubt that'd be related to rebase. It's probably just some weird timing issue.

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

Looks like it's related to the cache being out of date.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
assignee: nobody → jelmer
importance: Undecided → Low
milestone: none → 0.5.0
status: Confirmed → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.