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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Wong <normalperson@xxxxxxxx> wrote:
> Morgan Christiansson <git@xxxxxx> 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)...

> From 559f4b673592f364e9773f2ba65caf09b138521b Mon Sep 17 00:00:00 2001
> From: Eric Wong <normalperson@xxxxxxxx>
> 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@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux