* git-svn doesn't fetch an empty directory with svn:externals
@ 2010-01-13 11:49 Michel Jouvin
2010-01-13 15:11 ` Erik Faye-Lund
0 siblings, 1 reply; 2+ messages in thread
From: Michel Jouvin @ 2010-01-13 11:49 UTC (permalink / raw)
To: git
Hi,
I'm running in a problem when trying to fetch a SVN repository branch that
contains an empty directory with a SVN property svn:externals attached. This
directory is missing in the Git repository/checkout. I was unable to find an
option to have it added. I'd like to get it added to readd the externals using
the trick described in http://kerneltrap.org/mailarchive/git/2007/5/1/245002.
Without it, I have to recreate it in git, add it to .gitignore... which is
painful.
BTW, I didn't find any documentation on empty dirs handling by git-svn. They
seems to be often removed which is not always desirable. Are they options
related to this?
Cheers,
Michel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git-svn doesn't fetch an empty directory with svn:externals
2010-01-13 11:49 git-svn doesn't fetch an empty directory with svn:externals Michel Jouvin
@ 2010-01-13 15:11 ` Erik Faye-Lund
0 siblings, 0 replies; 2+ messages in thread
From: Erik Faye-Lund @ 2010-01-13 15:11 UTC (permalink / raw)
To: Michel Jouvin; +Cc: git
On Wed, Jan 13, 2010 at 12:49 PM, Michel Jouvin <jouvin@lal.in2p3.fr> wrote:
> Hi,
>
> I'm running in a problem when trying to fetch a SVN repository branch that
> contains an empty directory with a SVN property svn:externals attached. This
> directory is missing in the Git repository/checkout. I was unable to find an
> option to have it added. I'd like to get it added to readd the externals using
> the trick described in http://kerneltrap.org/mailarchive/git/2007/5/1/245002.
> Without it, I have to recreate it in git, add it to .gitignore... which is
> painful.
>
> BTW, I didn't find any documentation on empty dirs handling by git-svn. They
> seems to be often removed which is not always desirable. Are they options
> related to this?
>
I don't think this is git-svn's fault, but simply that git doesn't
track directories (just files). I guess git-svn could create some sort
of place-holder files in empty folders, but currently it doesn't
AFAIK.
--
Erik "kusma" Faye-Lund
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-13 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 11:49 git-svn doesn't fetch an empty directory with svn:externals Michel Jouvin
2010-01-13 15:11 ` Erik Faye-Lund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).