From: Ilya Basin <basinilya@gmail.com>
To: git@vger.kernel.org
Cc: git@vger.kernel.org
Subject: Re: git-svn --preserve-empty-dirs: Failed to strip path
Date: Sat, 27 Apr 2013 19:05:16 +0400 [thread overview]
Message-ID: <1603362637.20130427190516@gmail.com> (raw)
In-Reply-To: <917648658.20130427112832@gmail.com>
Small test script:
rm -rf testrepo.svn testrepo.gitsvn
svnadmin create testrepo.svn
url=file://`pwd`/testrepo.svn
svn mkdir -m "" "$url/trunk" "$url/branches" "$url/tags"
rm -rf testrepo
svn co "$url" testrepo
cd testrepo/trunk
mkdir -p foo/bar/
svn add foo/
svn commit -mx
svn rm foo/bar/
svn commit -mx
svn up
mkdir -p baz/
svn add baz/
svn commit -mx
echo x > fil.txt
svn add fil.txt
svn commit -mx
cd ../..
git svn clone --stdlayout --preserve-empty-dirs "$url" testrepo.gitsvn
result:
Initialized empty Git repository in /tmp/testrepo.gitsvn/.git/
r1 = 677463d6218c2229f81a8d891479435250cb9c87 (refs/remotes/trunk)
r2 = f61c011cc800eaa9953026b8bd4534c9cc7825a8 (refs/remotes/trunk)
D foo/bar/.gitignore
D foo/bar/
W: -empty_dir: trunk/foo/bar
r3 = b674724183fe4960b1b10813c41a91c5b22e805e (refs/remotes/trunk)
r4 = 8b1c8fdbf9b43390efb37b053c868a5f40567249 (refs/remotes/trunk)
A fil.txt
Failed to strip path 'foo/.gitignore' ((?-xism:^trunk(/|$)))
git version 1.8.2
--
prev parent reply other threads:[~2013-04-27 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-27 7:28 git-svn --preserve-empty-dirs: Failed to strip path Ilya Basin
2013-04-27 15:05 ` Ilya Basin [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=1603362637.20130427190516@gmail.com \
--to=basinilya@gmail.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.