git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Faye-Lund <kusmabite@googlemail.com>
To: Michel Jouvin <jouvin@lal.in2p3.fr>
Cc: git@vger.kernel.org
Subject: Re: git-svn doesn't fetch an empty directory with svn:externals
Date: Wed, 13 Jan 2010 16:11:02 +0100	[thread overview]
Message-ID: <40aa078e1001130711gf602ed4pa68cbeb8ba590600@mail.gmail.com> (raw)
In-Reply-To: <loom.20100113T124446-187@post.gmane.org>

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

      reply	other threads:[~2010-01-13 15:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40aa078e1001130711gf602ed4pa68cbeb8ba590600@mail.gmail.com \
    --to=kusmabite@googlemail.com \
    --cc=git@vger.kernel.org \
    --cc=jouvin@lal.in2p3.fr \
    --cc=kusmabite@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).