{"thread":{"id":"26435","subject":"git-svn problems with cloning","startedAt":"2011-02-07T11:58:33Z","lastAt":"2011-02-07T11:58:33Z","messageCount":1,"participants":["Piotr Krukowiecki"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"160601","messageId":"AANLkTinHmE-_JFeZP1AQ9yKh0ZN3+oqug=+j+5JcFHcm@mail.gmail.com","threadId":"26435","inReplyTo":null,"subject":"git-svn problems with cloning","fromName":"Piotr Krukowiecki","fromEmail":"piotr.krukowiecki.news@gmail.com","sentAt":"2011-02-07T11:58:33Z","receivedAt":"2011-02-07T11:58:33Z","isPatch":false,"sender":{"key":"piotr.krukowiecki.news@gmail.com","avatar":null},"body":"Hi,\n\nI'm trying to git-svn clone repository. I have encountered two\nproblems. For the the first one I have a workaround, but I'm lost with\nthe second.\n\n\n1. I have a problem with one commit which tries to create a file name\nwhich is not acceptable by file system (fat32). I tried to ignore this\nfiles by using --ignore-paths, but it does not work. Am I using\nignore-paths incorrectly or do I have to find a different workaround?\n(I'm thinking about using specific revisions or using filter-branch).\n\nHere's what's happening:\n\n$ git svn clone -s -r164508 '--ignore-paths=.*https:.*' <url>\nInitialized empty Git repository in <path>/.git/\nUsing higher level of URL: <url> => <url>\nmkdir .git/svn/refs/remotes/tags/https:: Invalid argument at\n/usr/local/stow/git-1.7.4/libexec/git-core/git-svn line 3856\n\n$ svn log -v -r164508 <url>\n[...]\n   A /<project>/tags/https:/blahblah\n\n$ mkdir https:\nmkdir: cannot create directory `https:': Invalid argument\n\n\n2. I have specified revision that do not have invalid file names in it\nand it worker, but git reported error later on, I suppose due to\n--ignore-paths:\n\n$ git svn clone -s '--ignore-paths=^/branches/<list of branches>'\n'--ignore-paths=^/tags/<list of tags>' -r164510:HEAD <url>\n[...]\nr166131 = 86085ee643d1b8ecb60f6ec3212904a24dd4d71a\n(refs/remotes/<ignored branch 1>\n)\n[...]\nr167889 = 1fdb8124d72e1bc417f7fe06051a5280675dc73b\n(refs/remotes/<ignored branch 2>)\n\n\tM\t[...]\t\nFound merge parent (svn:mergeinfo prop):\n1fdb8124d72e1bc417f7fe06051a5280675dc73b\n\n[...]\nW: Cannot find common ancestor between\n689e9a85f91eb71e37ccd79063e0a5aaa37d1b74 and\n5d04d29ab3c76835facade1859aed30129abecf4. Ignoring merge info.\n\nFound merge parent (svn:mergeinfo prop):\n039125717428084cdf4d38b8a98f431a9b656f1c\n\nCouldn't find revmap for <url>/<ignored branch 3>/path\nfatal: ambiguous argument\n'86085ee643d1b8ecb60f6ec3212904a24dd4d71a^..1fdb8124d72e1bc417f7fe06051a5280675dc73b':\nunknown revision or path not in the working tree.\n\nUse '--' to separate paths from revisions\n\nrev-list 86085ee643d1b8ecb60f6ec3212904a24dd4d71a^..1fdb8124d72e1bc417f7fe06051a5280675dc73b:\ncommand returned error: 128\n\n\n\nI'm not sure how to deal with this...\n\n\n-- \nPiotrek\n"}]}