Pulling from nonexisting directory in Subversion repository causes weird error

Bug #94409 reported by Jelmer Vernooij
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Low
Jelmer Vernooij

Bug Description

  affects /products/bzr-svn

Pulling from nonexisting directory in Subversion repository causes
weird error

ganieda:~/bzr.openchange/branches/MAILOOK% bzr-svn3 pull
svn+https://svn.openchange.org/openchange/branches/MAILLOOK bzr: ERROR:
exceptions.AssertionError:

Traceback (most recent call last):
  File "/home/jelmer/bzr/bzr.dev/bzrlib/commands.py", line 650, in
run_bzr_catch_errors return run_bzr(argv)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/commands.py", line 612, in
run_bzr ret = run(*run_argv)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/commands.py", line 304, in
run_argv_aliases return self.run(**all_cmd_args)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/builtins.py", line 619, in run
    delta._ChangeReporter(unversioned_filter=tree_to.is_ignored))
  File "/home/jelmer/bzr/bzr.dev/bzrlib/decorators.py", line 165, in
write_locked return unbound(self, *args, **kwargs)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/workingtree.py", line 1475, in
pull count = self.branch.pull(source, overwrite, stop_revision)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/decorators.py", line 165, in
write_locked return unbound(self, *args, **kwargs)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/branch.py", line 1673, in pull
    _run_hooks=_run_hooks)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/decorators.py", line 165, in
write_locked return unbound(self, *args, **kwargs)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/branch.py", line 1506, in pull
    self.update_revisions(source, stop_revision)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/decorators.py", line 165, in
write_locked return unbound(self, *args, **kwargs)
  File "/home/jelmer/bzr/bzr.dev/bzrlib/branch.py", line 1454, in
update_revisions stop_revision = other.last_revision()
  File "/home/jelmer/.bazaar/svn3-plugins/svn/branch.py", line 167, in
last_revision return self.repository.generate_revision_id(rev, branch)
  File "/home/jelmer/bzr-svn/main/repository.py", line 427, in
generate_revision_id return generate_svn_revision_id(self.uuid, revnum,
path) File "/home/jelmer/bzr-svn/main/repository.py", line 104, in
generate_svn_revision_id assert revnum > 0 or path == ""
AssertionError

bzr 0.16.0dev0 on python 2.5.0.final.0 (linux2)
arguments: ['/home/jelmer/bzr/bzr.dev/bzr', 'pull',
'svn+https://svn.openchange.org/openchange/branches/MAILLOOK']

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

Fixed.

Changed in bzr-svn:
assignee: nobody → jelmer
importance: Undecided → Low
status: Unconfirmed → 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.

Other bug subscribers

Remote bug watches

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