Re: Help with git-svn and SVN symlinks
- From
- Sadystio Ilmatunt <urkpostenardr@gmail.com>
- Date
- Apr 23, 2013, 22:54 UTC
- Message-ID
- <loom.20130424T005059-787@post.gmane.org>
- In-Reply-To
- <CAELx_2MamBzFZ3ZfA_08RTC56QHdCjNNsz0w0yYv4iCSZQNbPA@mail.gmail.com>
Any update about this:
I created this simple bug test to reproduce my problem. I tried on latest GIT, It fails. It is really preventing me from using GitSvn. Any help will be highly appreciated.
Let me know if you have any questions.
[GITSVN] $git --version git version 1.8.2.GIT [GITSVN] $git svn --version git-svn version 1.8.2.GIT (svn 1.5.7)
#Create svn repo cd /tmp; mkdir git-svn-prob; cd /tmp/git-svn-prob; /usr/bin/svnadmin create SVNTest-repo svn co file:///tmp/git-svn-prob/SVNTest-repo SVNTest cd SVNTest echo "stuff in h" > h echo -n "link h" > hl svn add h hl svn commit -m "Adding two files";
#Create GIT-svn repo cd ..; mkdir GITSVN cd GITSVN git svn init file:///tmp/git-svn-prob/SVNTest-repo; git svn fetch
# In SVN Repo, Modify hl to be link from file cd .. cd SVNTest; svn ps svn:special '*' hl rm hl ln -s h hl svn ci -m "Exisitng file modified to be link"; cat hl;
# Fetch latest SVN rev and see problem cd .. cd GITSVN; git svn fetch; git co git-svn -f cat hl; diff hl ../SVNTest/hl # Fails, Should succeed