Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

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

From: Eric Wong <hidden>
Date: 2016-06-15 22:45:56

Eric Wong [off-list ref] wrote:
Morgan Christiansson [off-list ref] wrote:
quoted
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.
quoted
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)...
From 559f4b673592f364e9773f2ba65caf09b138521b Mon Sep 17 00:00:00 2001
From: Eric Wong <redacted>
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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help