Fails on propfind of file apparently not in repo

Bug #76823 reported by James Westby
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Undecided
Jelmer Vernooij

Bug Description

Hi,

First off, thanks for th plugin, it seems like it will be very useful.

I wanted to check out a repo of mine so I did

jw2328@loser:devel/wavelan:1107:0% bzr branch http://svn.xfce.org/svn/goodies/xfce4-wavelan-plugin/trunk xfce4-wavelan-plugin.bzr
[===================== ] copying revision 21/54bzr: ERROR: libsvn._core.SubversionException: ("PROPFIND request failed on '/xfce4-wavelan-plugin/trunk/configure.ac'", 175002)

Traceback (most recent call last):
  File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/commands.py", line 650, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/commands.py", line 612, in run_bzr
    ret = run(*run_argv)
  File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/commands.py", line 304, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/builtins.py", line 760, in run revision_id, basis_dir)
  File "/home/jw2328/.bazaar/plugins/bzr-svn/format.py", line 80, in sprout
    result_repo = repo.clone(result, revision_id, basis)
  File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/decorators.py", line 38, in read_locked
    return unbound(self, *args, **kwargs)
  File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/repository.py", line 316, in clone
    self.copy_content_into(result, revision_id, basis)
  File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/repository.py", line 268, in copy_content_into
    return InterRepository.get(self, destination).copy_content(revision_id, basis)
  File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/decorators.py", line 51, in write_locked
    return unbound(self, *args, **kwargs)
  File "/home/jw2328/.bazaar/plugins/bzr-svn/fetch.py", line 323, in copy_content
    changes, id_map)
  File "/home/jw2328/.bazaar/plugins/bzr-svn/repository.py", line 261, in transform_fileid_map
    return self.fileid_map.apply_changes(uuid, revnum, branch, changes, map)
  File "/home/jw2328/.bazaar/plugins/bzr-svn/fileids.py", line 120, in apply_changes
    return self._apply_changes(map, revid, changes, find_children)
  File "/home/jw2328/.bazaar/plugins/bzr-svn/fileids.py", line 195, in _apply_changes
    for c in find_children(data[1], data[2]):
  File "/home/jw2328/.bazaar/plugins/bzr-svn/fileids.py", line 115, in find_children
    for p in self._log.find_children(bp+"/"+path, revnum):
  File "/home/jw2328/.bazaar/plugins/bzr-svn/logwalker.py", line 292, in find_children
    (dirents, _, _) = self.transport.get_dir(
  File "/home/jw2328/.bazaar/plugins/bzr-svn/transport.py", line 43, in locked
    return unbound(self, *args, **kwargs)
  File "/home/jw2328/.bazaar/plugins/bzr-svn/transport.py", line 177, in get_dir return svn.ra.get_dir(self._ra, *args, **kwargs)
  File "/var/lib/python-support/python2.4/libsvn/ra.py", line 409, in svn_ra_get_dir
    return apply(_ra.svn_ra_get_dir, args)
SubversionException: ("PROPFIND request failed on '/xfce4-wavelan-plugin/trunk/configure.ac'", 175002)

bzr 0.14.0dev0 on python 2.4.4.final.0 (linux2)
arguments: ['/home/jw2328/bin//bzr', 'branch', 'http://svn.xfce.org/svn/goodies/xfce4-wavelan-plugin/trunk', 'xfce4-wavelan-plugin.bzr']

** please send this report to <email address hidden>

configure.ac isn't in the current revision, but was removed in 2264 and replaced by configure.in.in.

This is with latest versions of bzr.dev and bzr-svn. If I can provide any more information please ask. The svn repo
is public, so you are welcome to try this yourself and see if it works.

Thanks,

James

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
assignee: nobody → jelmer
status: Unconfirmed → Confirmed
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This problem appears to be caused by the fact that the svn.ra.get_dir2() call in svn_ra_dav returns a different error when it's called on something that's not a directory.

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

Might be related to #56647

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

This now no longer fails on revision 21, but now on 37.

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

This is a really funky repository. The problem appears to be that a branch is deleted in a revision, then created again from scratch the next, but bzr-svn considers the two to be the same branch.

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

Fixed in r291.

Changed in bzr-svn:
status: Confirmed → Fix Committed
Revision history for this message
James Westby (james-w) wrote :

Thanks Jelmer. It now branches that repo fine.

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.