{"thread":{"id":"33540","subject":"Help with git-svn and SVN symlinks","startedAt":"2013-04-19T00:07:26Z","lastAt":"2013-04-23T22:54:50Z","messageCount":2,"participants":["Sadystio Ilmatunt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"214788","messageId":"CAELx_2MamBzFZ3ZfA_08RTC56QHdCjNNsz0w0yYv4iCSZQNbPA@mail.gmail.com","threadId":"33540","inReplyTo":null,"subject":"Help with git-svn and SVN symlinks","fromName":"Sadystio Ilmatunt","fromEmail":"urkpostenardr@gmail.com","sentAt":"2013-04-19T00:07:26Z","receivedAt":"2013-04-19T00:07:26Z","isPatch":false,"sender":{"key":"urkpostenardr@gmail.com","avatar":null},"body":"Hi,\n\nI have been using git-svn successfully for last 1 year.\nBut yesterday somebody checked in something in SVN using svn client\nand It caused inconsitency in GIT-svn repository.\n\nIn one of SVN Merge commit, Some symlink files were not made \"svn\nspecial\" by mistake,\nSo there was another SVN commit with only property change to convert\nthese files into symlink.\nGit-svn should have picked this commit and converted these files into\nsymlink but I think it missed it, Now I have text files in Git\ncodebase instead of symlinks.\nIn SVN repository these files are symlinks.\n\nHow should I fix this?\n"},{"id":"215276","messageId":"loom.20130424T005059-787@post.gmane.org","threadId":"33540","inReplyTo":"CAELx_2MamBzFZ3ZfA_08RTC56QHdCjNNsz0w0yYv4iCSZQNbPA@mail.gmail.com","subject":"Re: Help with git-svn and SVN symlinks","fromName":"Sadystio Ilmatunt","fromEmail":"urkpostenardr@gmail.com","sentAt":"2013-04-23T22:54:50Z","receivedAt":"2013-04-23T22:54:50Z","isPatch":false,"sender":{"key":"urkpostenardr@gmail.com","avatar":null},"body":"Any update about this:\n\nI created this simple bug test to reproduce my problem.\nI tried on latest GIT, It fails.\nIt is really preventing me from using GitSvn.\nAny help will be highly appreciated.\n\nLet me know if you have any questions.\n\n[GITSVN] $git --version\ngit version 1.8.2.GIT\n[GITSVN] $git svn --version\ngit-svn version 1.8.2.GIT (svn 1.5.7)\n\n\n\n#Create svn repo\ncd /tmp;\nmkdir git-svn-prob;\ncd /tmp/git-svn-prob;\n/usr/bin/svnadmin create SVNTest-repo\nsvn co file:///tmp/git-svn-prob/SVNTest-repo SVNTest\ncd SVNTest\necho \"stuff in h\" > h\necho -n  \"link h\" > hl\nsvn add h hl\nsvn commit -m \"Adding two files\";\n\n#Create GIT-svn repo\ncd ..;\nmkdir GITSVN\ncd  GITSVN\ngit svn init  file:///tmp/git-svn-prob/SVNTest-repo;\ngit svn fetch\n\n# In SVN Repo, Modify hl to be link from file\ncd ..\ncd SVNTest;\nsvn ps svn:special '*' hl\nrm hl\nln -s h hl\nsvn ci -m \"Exisitng file modified to be link\";\ncat hl; \n\n# Fetch latest SVN rev and see problem\ncd ..\ncd GITSVN;\ngit svn fetch;\ngit co git-svn -f\ncat hl; \ndiff hl ../SVNTest/hl  # Fails, Should succeed\n"}]}