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

Re: Problem with git-svn

From
EWEric Wong <normalperson@yhbt.net>
Date
Dec 19, 2007, 08:27 UTC
Message-ID
<20071219082751.GA17787@muzzle>
In-Reply-To
<4764FE2C.1010103@obry.net>
Pascal Obry <pascal@obry.net> wrote:
Show 30 quoted lines
> 
> I'm trying to use a Subversion repository with Git. I had
> great success with many repositories except one. This one
> live since long time and as been migrated from CVS to
> Subversion.
> 
> The current Subversion repository contains multiple projects.
> Each project is under /trunk. While trying to import the project
> PROJ:
> 
>   $ git svn clone svn+ssh://myserver/trunk/PROJ
> 
> I get:
> 
> Initialized empty Git repository in .git/
> W: Ignoring error from SVN, path probably does not exist: (160013):
> Filesystem has no item: File not found: revision 100, path '/trunk/PROJ'
> Found possible branch point: svn+ssh://myserver/importfromcvs/trunk =>
> svn+ssh://myserver/trunk/PROJ, 48467
> Initializing parent: git-svn@48467
> W: Ignoring error from SVN, path probably does not exist: (160013):
> Filesystem has no item: File not found: revision 101, path
> '/importfromcvs/trunk'
> r9458 = b90789186c85a19a9f32ea6dc8a4259e2eadef67 (git-svn@48467)
>         A       file.el
> 
> But file.el is not part of this project, it is part of another one
> on the same Subversion repository. It looks like git-svn get confused
> at some point. I've been trying to track this down, but since I've
> never written a single Perl script that's not easy :(
Hi,
Can you show me the output of `svn log -v -r9458 svn+ssh://myserver/' ?
Thanks.
Show 14 quoted lines
> Note that AFAIK each CVS modules have been imported into
> /importfromcvs/trunk then move into /trunk/<MODULE_NAME>.
> 
> r48467 seem ok as a branch point:
> 
> <<
> ------------------------------------------------------------------------
> r48468 | svn | 2007-05-09 15:10:54 +0200 (Wed, 09 May 2007) | 1 line
> Changed paths:
>    D /importfromcvs/trunk
>    A /trunk/PROJ (from /importfromcvs/trunk:48467)
> 
> Importing module PROJ into SVN.
> >>

So did svn+ssh://importfromcvs/trunk/file.el at r9458? If so, git-svn is behaving as expected. If not, can you tell me where "file.el" was at r9458?

Show 6 quoted lines
> 
> So I'm looking for hints about the possible problem.
> 
> Note that I have tried to reproduce this with a small
> script (using the same repository structure) but I was
> not able.
-- 
Eric Wong
Previous: Pascal ObryNext: Pascal Obry
Message 4 of 11 in “Problem with git-svn”
  1. Pascal ObryDec 16, 2007
  2. Peter BaumannDec 16, 2007
  3. Pascal ObryDec 16, 2007
  4. Eric WongDec 19, 2007
  5. Pascal ObryDec 19, 2007
  6. Eric WongDec 20, 2007
  7. Pascal ObryDec 20, 2007
  8. Pascal ObryDec 21, 2007
  9. Eric WongDec 22, 2007
  10. Pascal ObryDec 22, 2007
  11. Pascal ObryDec 20, 2007

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.