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

Re: git-svn: File was not found in commit

From
EWEric Wong <normalperson@yhbt.net>
Date
Jan 12, 2009, 05:14 UTC
Message-ID
<20090112051409.GB14992@dcvr.yhbt.net>
In-Reply-To
<20090112023211.GA21462@dcvr.yhbt.net>
Eric Wong <normalperson@yhbt.net> wrote:
Show 12 quoted lines
> Morgan Christiansson <git@mog.se> wrote:
> > The "Ignoring path" message appears to be coming from git which is  
> > refusing to commit the .git directory. Which leads to git-svn being  
> > unaware of the files being ignored and giving an error when it can't  
> > find them.
> 
> > I'm personally fine with these files being ignored by git, but git-svn  
> > needs to be aware that they are not added to the repository.
> 
> Hi Morgan,
> Can you try the following rough patch and see it it fixes things
> for you?  Thanks!

Actually, I think this patch is broken (my quickly put together test case was insufficient)...

Show 18 quoted lines
> From 559f4b673592f364e9773f2ba65caf09b138521b Mon Sep 17 00:00:00 2001
> From: Eric Wong <normalperson@yhbt.net>
> Date: Sun, 11 Jan 2009 18:23:38 -0800
> Subject: [PATCH/RFC] git-svn: avoid importing nested repos
> 
> Some SVN repositories contain .git repositories within them
> (hopefully accidentally checked in).  Since git refuses to
> check in ".git" repositories, this can be a problem when
> fetching updates from SVN.
> 
> This seems to repull the entire blob from SVN everytime a user
> changes something inside the ".git" directory on the SVN side,
> but hopefully this will be a rare case and the SVN users will
> correct the error quickly.
> 
> The test could probably be expanded to be more thorough...
> 
> Signed-off-by: Eric Wong <normalperson@yhbt.net>
Previous: Eric WongNext: Morgan Christiansson
Message 6 of 8 in “git-svn: File was not found in commit”
  1. Morgan ChristianssonJan 9, 2009
  2. Morgan ChristianssonJan 11, 2009
  3. Björn SteinbrinkJan 11, 2009
  4. Morgan ChristianssonJan 12, 2009
  5. Eric WongJan 12, 2009
  6. Eric WongJan 12, 2009
  7. Morgan ChristianssonJan 12, 2009
  8. Eric WongJan 19, 2009

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.