git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Jörg Schaible" <joerg.schaible@swisspost.com>
To: git@vger.kernel.org
Subject: Re: git svn clone fails
Date: Fri, 14 Aug 2015 15:47:15 +0200	[thread overview]
Message-ID: <mqkrh4$7cf$1@ger.gmane.org> (raw)
In-Reply-To: 55CDD713.1050205@web.de

Hi Thorsten,

there's more fun though. GIT (2.4.6) fails differently if I add additionally 
the "--no-minimize-url":

==================== %< =================
[...]
W: -empty_dir: trunk/src/test/serialization/com/elsagsolutions
r40223 = 7983efa910e6cd606cc63a6b6b365048df1e11a9 
(refs/remotes/origin/trunk)
        M       src/main/java/com/scalaris/commons/lang/util/ArrayUtils.java
r40261 = ecf4747a88073353c9731e6e69c079d66e7aac2d 
(refs/remotes/origin/trunk)
        M       
src/test/java/com/scalaris/commons/lang/util/ArrayUtilsTestCase.java
r40262 = 96eda7427de3f1c082e88c23458be197a3b20a7a 
(refs/remotes/origin/trunk)
        M       changes.xml
        A       src/main/java/com/scalaris/commons/lang/net/MimeTypes.java
r41127 = 00d0a652e5ef20c18b9d4764dd70383c1d10177b 
(refs/remotes/origin/trunk)
        M       changes.xml
Failed to strip path 
'src/main/java/com/elsagsolutions/commons/lang/io/.gitignore' ((?^:^trunk(/|
$)))
==================== %< =================

the error in the Perl module happens only without that option. Both errors 
do not occur without option "--preserve-empty-dirs".


Torsten Bögershausen wrote:

> On 2015-08-14 12.38, Jörg Schaible wrote:
>> Any idea how to proceed?
> 
> Git itself doesn't version empty directories at all, only files
> (and soft links, sub modules....).

I know, but "git svn clone" creates a .gitignore file in such a case.

> Git creates a directory as a "side effect" to be able to store files
> there.
> 
> May be I am off-topic, but would it be possible to fill the empty
> directories with a dummy file ".empty" ?

That does not help when converting the Subversion history. It's failing long 
before HEAD of trunk.

> Add those to svn and force Git to create a nearly empty directory.

That's what GIT normally does by default on its own. However, I cannot 
change the Subversion history. GIT has to deal with it while converting (and 
normally it does, as my test proofed with the demo Subversion project).

Cheers,
Jörg

  reply	other threads:[~2015-08-14 13:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29 10:12 git svn clone fails Jörg Schaible
2015-08-04  8:20 ` Jörg Schaible
2015-08-14  7:51   ` Jörg Schaible
2015-08-14  8:32     ` Torsten Bögershausen
2015-08-14 10:38       ` Jörg Schaible
2015-08-14 11:54         ` Torsten Bögershausen
2015-08-14 13:47           ` Jörg Schaible [this message]
2015-09-02  2:27     ` Eric Wong
2015-09-03 12:19       ` Jörg Schaible

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to='mqkrh4$7cf$1@ger.gmane.org' \
    --to=joerg.schaible@swisspost.com \
    --cc=git@vger.kernel.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).