All of lore.kernel.org
 help / color / mirror / Atom feed
* git-svn - canonicalize: Assertion `*src != '/'' failed.
@ 2013-08-26 17:16 Bruce Korb
  2013-08-26 17:28 ` Jonathan Nieder
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Korb @ 2013-08-26 17:16 UTC (permalink / raw)
  To: GIT Development

I was trying to clone a SVN repo, but not having luck:

 > $ git svn clone $PWD/private-lustre-svn $PWD/private-lustre-git
 > perl: subversion/libsvn_subr/dirent_uri.c:321: canonicalize: Assertion `*src != '/'' failed.
 > error: git-svn died of signal 6

What is Perl or Subversion or GIT trying to tell me, please?  Thank you!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn - canonicalize: Assertion `*src != '/'' failed.
  2013-08-26 17:16 git-svn - canonicalize: Assertion `*src != '/'' failed Bruce Korb
@ 2013-08-26 17:28 ` Jonathan Nieder
  2013-08-26 17:32   ` Bruce Korb
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Nieder @ 2013-08-26 17:28 UTC (permalink / raw)
  To: Bruce Korb; +Cc: GIT Development

Hi,

Bruce Korb wrote:

> I was trying to clone a SVN repo, but not having luck:
>
>> $ git svn clone $PWD/private-lustre-svn $PWD/private-lustre-git
>> perl: subversion/libsvn_subr/dirent_uri.c:321: canonicalize: Assertion `*src != '/'' failed.
>> error: git-svn died of signal 6
>
> What is Perl or Subversion or GIT trying to tell me, please?  Thank you!

What version of git are you using?  And what version of libsvn (and the
libsvn perl bindings)?

Thanks,
Jonathan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn - canonicalize: Assertion `*src != '/'' failed.
  2013-08-26 17:28 ` Jonathan Nieder
@ 2013-08-26 17:32   ` Bruce Korb
  2013-08-26 17:42     ` Jonathan Nieder
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Korb @ 2013-08-26 17:32 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: GIT Development

Hi,

On Mon, Aug 26, 2013 at 10:28 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Bruce Korb wrote:
>> I was trying to clone a SVN repo, but not having luck:
>>
>>> $ git svn clone $PWD/private-lustre-svn $PWD/private-lustre-git
>>> perl: subversion/libsvn_subr/dirent_uri.c:321: canonicalize: Assertion `*src != '/'' failed.
>>> error: git-svn died of signal 6
>>
>> What is Perl or Subversion or GIT trying to tell me, please?  Thank you!
>
> What version of git are you using?  And what version of libsvn (and the
> libsvn perl bindings)?
>
> Thanks,

$ git --version
git version 1.8.1.4
$ git svn --version
git-svn version 1.8.1.4 (svn 1.7.11)

Thank, _you_! :)  -- Bruce

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn - canonicalize: Assertion `*src != '/'' failed.
  2013-08-26 17:32   ` Bruce Korb
@ 2013-08-26 17:42     ` Jonathan Nieder
  2013-08-26 17:52       ` Bruce Korb
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Nieder @ 2013-08-26 17:42 UTC (permalink / raw)
  To: Bruce Korb; +Cc: GIT Development

Bruce Korb wrote:

> $ git svn --version
> git-svn version 1.8.1.4 (svn 1.7.11)

Hm.  Two ideas:

 * Does 1.8.2 or newer work better?  (It contains v1.8.2-rc0~110^2,
   "git-svn: do not escape certain characters in paths", 2013-01-17,
   which at first glance looks unlikely to help but might be worth a
   try.)

 * Does "git svn clone file://$PWD/private-lustre-svn $PWD/private-lustre-git"
   work?

Ciao,
Jonathan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git-svn - canonicalize: Assertion `*src != '/'' failed.
  2013-08-26 17:42     ` Jonathan Nieder
@ 2013-08-26 17:52       ` Bruce Korb
  0 siblings, 0 replies; 5+ messages in thread
From: Bruce Korb @ 2013-08-26 17:52 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: GIT Development

On Mon, Aug 26, 2013 at 10:42 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Bruce Korb wrote:
>
>> $ git svn --version
>> git-svn version 1.8.1.4 (svn 1.7.11)
>
> Hm.  Two ideas:
>
>  * Does 1.8.2 or newer work better?  (It contains v1.8.2-rc0~110^2,
>    "git-svn: do not escape certain characters in paths", 2013-01-17,
>    which at first glance looks unlikely to help but might be worth a
>    try.)
>
>  * Does "git svn clone file://$PWD/private-lustre-svn $PWD/private-lustre-git"
>    work?
>
> Ciao,
> Jonathan

I get different results:

> $ git svn clone file://$PWD/private-lustre-svn $PWD/private-lustre-git
> Initialized empty Git repository in /u/bkorb/work/private-lustre-git/.git/
> Couldn't open a repository: Unable to connect to a repository at URL 'file:///u/bkorb/work/private-lustre-svn': \
> Unable to open an ra_local session to URL: Unable to open repository 'file:///u/bkorb/work/private-lustre-svn' \
> at /usr/lib/perl5/vendor_perl/5.16.2/Git/SVN.pm line 148.

That makes it look like I didn't get a proper copy of the SVN repo.
Since the real repo lives behind a firewall through two ssh hops,
getting what I need may require learning Subversion instead of using
conversion and familiar tools.....

(I need to extract patch sets for three development branches so I can
apply them to a lustre GIT repo.)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-26 17:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-26 17:16 git-svn - canonicalize: Assertion `*src != '/'' failed Bruce Korb
2013-08-26 17:28 ` Jonathan Nieder
2013-08-26 17:32   ` Bruce Korb
2013-08-26 17:42     ` Jonathan Nieder
2013-08-26 17:52       ` Bruce Korb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.