git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn - canonicalize: Assertion `*src != '/'' failed.

From
Bruce Korb <bruce.korb@gmail.com>
Date
Aug 26, 2013, 17:52 UTC
Message-ID
<CAKRnqNLupBKdvkK-LCuO8a+cz00oJbCcjKDEV8FepV9xSOAJEw@mail.gmail.com>
In-Reply-To
<20130826174242.GT4110@google.com>
On Mon, Aug 26, 2013 at 10:42 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 17 quoted lines
> 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:
Show 5 quoted lines
> $ 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.)

Previous: Jonathan Nieder
Message 5 of 5 in “git-svn - canonicalize: Assertion `*src != '/'' failed.”
  1. Bruce KorbAug 26, 2013
  2. Jonathan NiederAug 26, 2013
  3. Bruce KorbAug 26, 2013
  4. Jonathan NiederAug 26, 2013
  5. Bruce KorbAug 26, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.