SubversionException: "Path ... is not canonicalized; there is a problem with the client." on bzr log -v of subversion URL

Bug #304894 reported by Wesley J. Landaker
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Undecided
Jelmer Vernooij

Bug Description

Doing a log directory on subversion repositories URLs usually works, but this one fails. I see this is similar to bug #248227, but that was about an older version of bzr and was claimed to be fixed. This is with bzr 1.9 and bzr-svn 0.4.15 (both from intrepid packages).

$ bzr log https://.../svn/image_former/autofocus/ -v
bzr: ERROR: bzrlib.plugins.svn.core.SubversionException: ("Path 'https://.../svn/image_former/autofocus/' is not canonicalized; there is a problem with the client.", 0)

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 853, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1873, in run
    limit=limit)
  File "/usr/lib/python2.5/site-packages/bzrlib/log.py", line 182, in show_log
    start_revision, end_revision, search, limit)
  File "/usr/lib/python2.5/site-packages/bzrlib/log.py", line 225, in _show_log
    for revs in revision_iterator:
  File "/usr/lib/python2.5/site-packages/bzrlib/log.py", line 367, in _generate_deltas
    revs = [(rev[0], rev[1], delta) for rev, delta in izip(revs, deltas)]
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/repository.py", line 337, in get_deltas_for_revisions
    yield self.get_revision_delta(revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/repository.py", line 361, in get_revision_delta
    reporter.finish()
SubversionException: ("Path 'https://.../svn/image_former/autofocus/' is not canonicalized; there is a problem with the client.", 0)

bzr 1.9 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'log', 'https://.../svn/image_former/autofocus/', '-v']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bisect /home/wjlanda/.bazaar/plugins/bisect [1.1.0pre0]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.9.1]
  cvsps_import /usr/lib/python2.5/site-packages/bzrlib/plugins/cvsps_import [unknown]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.96.0dev1]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  loom /usr/lib/python2.5/site-packages/bzrlib/plugins/loom [1.4.0dev0]
  rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.4.1]
  search /usr/lib/python2.5/site-packages/bzrlib/plugins/search [1.6.0dev3]
  stats /usr/lib/python2.5/site-packages/bzrlib/plugins/stats [unknown]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.15dev0]
  upload /usr/lib/python2.5/site-packages/bzrlib/plugins/upload [0.1.0]
*** 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 :

Any chance you can try again with the 0.5 branch? I've pushed a change which I think should fix this.

Changed in bzr-svn:
status: New → Incomplete
Revision history for this message
Wesley J. Landaker (wjl) wrote :

Yes, It does work with bzr from the 1.10 branch and bzr-svn from the 0.5 branch.

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

Thanks for confirming!

Changed in bzr-svn:
assignee: nobody → jelmer
milestone: none → 0.5.0
status: Incomplete → 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.