Bug#616168: git-svn: git svn fetch fails with svn_path_join: Assertion `svn_path_is_canonical(component, pool)

2011-03-02 Thread Daniel Kahn Gillmor
Package: git-svn
Version: 1:1.7.2.3-2.2
Severity: normal

From a clean directory, i get an internal assertion on the initial fetch:

0 $ git svn init -Thttp://trac-hacks.org/svn/tagsplugin/trunk 
-thttp://trac-hacks.org/svn/tagsplugin/tags 
-bhttp://trac-hacks.org/svn/tagsplugin/branches
Initialized empty Git repository in /home/dkg/src/trac/plugins/tags/git/.git/
Using higher level of URL: http://trac-hacks.org/svn/tagsplugin/trunk = 
http://trac-hacks.org/svn
0 $ git svn fetch
W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem 
has no item: File not found: revision 100, path '/tagsplugin'
W: Do not be alarmed at the above message git-svn is just searching 
aggressively for old history.
This may take a while on large repositories
perl: 
/build/buildd-subversion_1.6.12dfsg-4-i386-F4jqyg/subversion-1.6.12dfsg/subversion/libsvn_subr/path.c:115:
 svn_path_join: Assertion `svn_path_is_canonical(component, pool)' failed.
error: git-svn died of signal 6
134 $

If i then wipe out the half-formed .git/ directory and try again like this:

 git svn init -s http://trac-hacks.org/svn/tagsplugin

then the git svn fetch step proceeds as normal.

If i'm reading the docs correctly, these two initialization choices
should be roughly equivalent.


At the very least, if the former is somehow incorrect, i'd hope it
could be caught at git svn init time instead of waiting for an
assertion from deep within the bowels of svn.

Thanks for maintaining git-svn in debian!  It is an incredibly useful
tool.

Regards,

--dkg

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-svn depends on:
ii  git1:1.7.2.3-2.2 fast, scalable, distributed revisi
ii  libsvn-perl1.6.12dfsg-4  Perl bindings for Subversion
ii  libterm-readkey-perl   2.30-4A perl module for simple terminal 
ii  libwww-perl5.837-1   simple and consistent interface to

git-svn recommends no packages.

Versions of packages git-svn suggests:
ii  git-doc1:1.7.2.3-2.2 fast, scalable, distributed revisi
ii  subversion 1.6.12dfsg-4  Advanced version control system

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#616168: git-svn: git svn fetch fails with svn_path_join: Assertion `svn_path_is_canonical(component, pool)

2011-03-02 Thread Jonathan Nieder
reassign 616168 libsvn-perl 1.6.12dfsg-4
quit

Hi Daniel,

Daniel Kahn Gillmor wrote:

 $ git svn init -Thttp://trac-hacks.org/svn/tagsplugin/trunk \
   -thttp://trac-hacks.org/svn/tagsplugin/tags \
   -bhttp://trac-hacks.org/svn/tagsplugin/branches

I believe you are looking for

 git svn init http://trac-hacks.org/svn/tagsplugin -Ttrunk -ttags -bbranches

That said,

 $ git svn fetch
[...]
 This may take a while on large repositories
 perl: 
 /build/buildd-subversion_1.6.12dfsg-4-i386-F4jqyg/subversion-1.6.12dfsg/subversion/libsvn_subr/path.c:115:
  svn_path_join: Assertion `svn_path_is_canonical(component, pool)' failed.
 error: git-svn died of signal 6

This definitely should not happen.

Reassigning to libsvn-perl.  Peter et al, please let me know if you
need a reduced testcase.

Thanks for catching it.

Regards,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#616168: git-svn: git svn fetch fails with svn_path_join: Assertion `svn_path_is_canonical(component, pool)

2011-03-02 Thread Peter Samuelson

[Jonathan Nieder]
 That said,
 
  $ git svn fetch
 [...]
  This may take a while on large repositories
  perl: 
  /build/buildd-subversion_1.6.12dfsg-4-i386-F4jqyg/subversion-1.6.12dfsg/subversion/libsvn_subr/path.c:115:
   svn_path_join: Assertion `svn_path_is_canonical(component, pool)' failed.
  error: git-svn died of signal 6
 
 This definitely should not happen.

Indeed.  Unfortunately upstream doesn't give too much love to
libsvn-perl.  And since it's SWIG based, I'm rather afraid of it
myself.

 Reassigning to libsvn-perl.  Peter et al, please let me know if you
 need a reduced testcase.

A reduced testcase would be helpful, if it's not too hard to produce
one.  Thanks!
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org