dpush to svn failed with exceptions.KeyError: 'Null'

Bug #311613 reported by thomas coopman
4
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Low
Jelmer Vernooij

Bug Description

When I try to dpush to a svn link on google code I get the following exception

bzr dpush https://********.googlecode.com/svn/trunk
bzr: ERROR: exceptions.KeyError: 'null:'

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib64/python2.6/site-packages/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib64/python2.6/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib64/python2.6/site-packages/bzrlib/plugins/svn/__init__.py", line 483, in run
    new_last_revid = revid_map[old_last_revid]
KeyError: 'null:'

bzr 1.10 on python 2.6 (linux2)
arguments: ['/usr/bin/bzr', 'dpush', 'https://***********@genatspkuleuven.googlecode.com/svn/trunk']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  launchpad /usr/lib64/python2.6/site-packages/bzrlib/plugins/launchpad [unknown]
  rebase /usr/lib64/python2.6/site-packages/bzrlib/plugins/rebase [0.3]
  svn /usr/lib64/python2.6/site-packages/bzrlib/plugins/svn [0.4.16]
*** 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 :

Were you pushing an empty branch ?

Revision history for this message
thomas coopman (tmske) wrote :

I don't think so, I first did a bzr init and bzr add on a local directory, then I tried to push that to google code with bzr svn-push, but that didn't seem to push any data so then I tried dpush.

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

fixed in the 0.5 branch

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

Other bug subscribers

Remote bug watches

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