{"thread":{"id":"28601","subject":"git-svn: ignore-paths not enough (not ignoring refs?)","startedAt":"2011-10-06T08:43:12Z","lastAt":"2011-10-07T00:41:59Z","messageCount":2,"participants":["Piotr Krukowiecki","Michael Olson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"177011","messageId":"CAA01CsqEdoqSRrPDTrfOQPS7q-1tVALE_5vjeLUAeh0iXZi3_A@mail.gmail.com","threadId":"28601","inReplyTo":null,"subject":"git-svn: ignore-paths not enough (not ignoring refs?)","fromName":"Piotr Krukowiecki","fromEmail":"piotr.krukowiecki@gmail.com","sentAt":"2011-10-06T08:43:12Z","receivedAt":"2011-10-06T08:43:12Z","isPatch":false,"sender":{"key":"piotr.krukowiecki@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3259959?v=4"},"body":"Hi,\n\nI'm using --ignore-paths options but some paths which should be\nignored (they math the regexp) are not ignored. I suspect this is\nbecause of http://thread.gmane.org/gmane.comp.version-control.git/145398\n\nIt seems the patch from that url was never accepted to git. It does\nnot apply anymore too. Is it possible to update the patch? From the\ndiscussion the patch looked ok (with exception to git-svn dying if a\nparent ref didn't exist :) )\n\n\nHere's my git-svn clone log, with some print lines added to is_path_ignored():\n\n$ git svn clone -s --no-follow-parent  --ignore-paths='$REGEXP -r 1230:1240 $URL\n[...]\nis_path_ignored: 'xtest/tags/rel1'  # this matches the regexp and\nshould be ignored\nis_path_ignored: 'xtest/tags/rel1/common' # more paths which should be\nignored follow\n[...]\nr1237 = c660a7e6ad81cafa0a64a7ec85a3e23f0c02bc09\n(refs/remotes/tags/rel1) # but it is not!\n\n# I can see the tag:\n$ git branch -a\n  remotes/tags/rel1\n\n# There are no changes in this change:\n$ git show -p c660a7e6ad81cafa0a64a7ec85a3e23f0c02bc09\n[...]\n    git-svn-id: $URL/rel1@1237 3e523551-a86b-4873-bcb6-76fcd93a4c5c\n\n# Under svn the r1237 is following:\n$ svn log -r 1237 -v $URL\n------------------------------------------------------------------------\nr1237 | ...\nChanged paths:\n   A /xtest/tags/rel1/common (from /xtest/branches/xtest44/common:1235)\n\n# The xtest/branches/xtest44/common does not match the ignore-paths\nand is not ignored.\n\n\n-- \nPiotr Krukowiecki\n"},{"id":"177127","messageId":"CAN4ruPgjPmsJ1mret9z_VfRbTivhiosErB_K=dbWn+QtsdUt6Q@mail.gmail.com","threadId":"28601","inReplyTo":"CAA01CsqEdoqSRrPDTrfOQPS7q-1tVALE_5vjeLUAeh0iXZi3_A@mail.gmail.com","subject":"Re: git-svn: ignore-paths not enough (not ignoring refs?)","fromName":"Michael Olson","fromEmail":"mwolson@gnu.org","sentAt":"2011-10-07T00:41:59Z","receivedAt":"2011-10-07T00:41:59Z","isPatch":false,"sender":{"key":"mwolson@gnu.org","avatar":"https://avatars.githubusercontent.com/u/1510193?v=4"},"body":"I've resent my patch.  I've been using it with v1.7.4.1.\n\nOn Thu, Oct 6, 2011 at 1:43 AM, Piotr Krukowiecki\n<piotr.krukowiecki@gmail.com> wrote:\n> Hi,\n>\n> I'm using --ignore-paths options but some paths which should be\n> ignored (they math the regexp) are not ignored. I suspect this is\n> because of http://thread.gmane.org/gmane.comp.version-control.git/145398\n>\n> It seems the patch from that url was never accepted to git. It does\n> not apply anymore too. Is it possible to update the patch? From the\n> discussion the patch looked ok (with exception to git-svn dying if a\n> parent ref didn't exist :) )\n>\n>\n> Here's my git-svn clone log, with some print lines added to is_path_ignored():\n>\n> $ git svn clone -s --no-follow-parent  --ignore-paths='$REGEXP -r 1230:1240 $URL\n> [...]\n> is_path_ignored: 'xtest/tags/rel1'  # this matches the regexp and\n> should be ignored\n> is_path_ignored: 'xtest/tags/rel1/common' # more paths which should be\n> ignored follow\n> [...]\n> r1237 = c660a7e6ad81cafa0a64a7ec85a3e23f0c02bc09\n> (refs/remotes/tags/rel1) # but it is not!\n>\n> # I can see the tag:\n> $ git branch -a\n>  remotes/tags/rel1\n>\n> # There are no changes in this change:\n> $ git show -p c660a7e6ad81cafa0a64a7ec85a3e23f0c02bc09\n> [...]\n>    git-svn-id: $URL/rel1@1237 3e523551-a86b-4873-bcb6-76fcd93a4c5c\n>\n> # Under svn the r1237 is following:\n> $ svn log -r 1237 -v $URL\n> ------------------------------------------------------------------------\n> r1237 | ...\n> Changed paths:\n>   A /xtest/tags/rel1/common (from /xtest/branches/xtest44/common:1235)\n>\n> # The xtest/branches/xtest44/common does not match the ignore-paths\n> and is not ignored.\n>\n>\n> --\n> Piotr Krukowiecki\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n\n\n\n-- \nMichael Olson  |  http://mwolson.org/\n"}]}