{"thread":{"id":"6070","subject":"Re: git-svn throwing assertion on old svn tracking branch","startedAt":"2006-12-20T23:55:51Z","lastAt":"2007-01-05T09:18:55Z","messageCount":9,"participants":["Nicolas Vilz","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"295297","messageId":"20061220235551.GA2974@hermes.lan.home.vilz.de","threadId":"6070","inReplyTo":null,"subject":"git-svn throwing assertion on old svn tracking branch","fromName":"Nicolas Vilz","fromEmail":"niv@iaglans.de","sentAt":"2006-12-20T23:55:51Z","receivedAt":"2006-12-20T23:55:51Z","isPatch":false,"sender":{"key":"niv@iaglans.de","avatar":"https://gravatar.com/avatar/e4d43a32d721241212d4edb1d2210327e28423c913071b4bfeeaa0ce15296110?d=mp&s=160"},"body":"hello guys,\n\nit has been a while, i tried git in conjunction with svn... i got a nice\nhistory, when working with it. This Work is now a year old.\n\nNow I wanted to get on working and got following error message while\nfetching from one specific svn tracking branch:\n\n$ git-svn fetch -i svn_master\nperl: subversion/libsvn_subr/path.c:343: svn_path_remove_component: \nAssertion `is_canonical(path->data, path->len)' failed.\nAborted\n\nI checked the svn working copy, it is uptodate now (although i had to\nsearch for it, i havent been using this repository for one year...)\n\nthe output of gitk --all looks good, too. So i wonder if that error\nmessage above is only an alternative to say \"more work? i ask because i\nam finished and have nothing else todo..\"\n\nIt is only happening to this old repository...\n\nAny help is appreciated. If possible, i would like to keep my development\nhistory for this repository.\n\nI almost forgot, i use git version 1.4.4.3.g545b \n\nSincerly\nNicolas\n"},{"id":"297898","messageId":"20061221010520.GB3901@localdomain","threadId":"6070","inReplyTo":"20061220235551.GA2974@hermes.lan.home.vilz.de","subject":"Re: git-svn throwing assertion on old svn tracking branch","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-12-21T01:05:20Z","receivedAt":"2006-12-21T01:05:20Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Nicolas Vilz <niv@iaglans.de> wrote:\n> hello guys,\n> \n> it has been a while, i tried git in conjunction with svn... i got a nice\n> history, when working with it. This Work is now a year old.\n> \n> Now I wanted to get on working and got following error message while\n> fetching from one specific svn tracking branch:\n> \n> $ git-svn fetch -i svn_master\n> perl: subversion/libsvn_subr/path.c:343: svn_path_remove_component: \n> Assertion `is_canonical(path->data, path->len)' failed.\n> Aborted\n\nI don't recall seeing that error before.\n\nAre you using the command-line client or the perl SVN libraries?  If\nyou're using the command-line client, you may want to try:\nrm -rf .git/svn/svn_master/tree && git-svn rebuild -i svn_master\n\n> I checked the svn working copy, it is uptodate now (although i had to\n> search for it, i havent been using this repository for one year...)\n\nDoes the directory you're tracking the the repository still\nexist?  If it disappeared, git-svn could have some issues with it\n(regardless of command-line or SVN libraries).\n\n-- \n"},{"id":"29996","messageId":"20061222013510.GA9595@hermes","threadId":"6070","inReplyTo":"20061221010520.GB3901@localdomain","subject":"Re: git-svn throwing assertion on old svn tracking branch","fromName":"Nicolas Vilz","fromEmail":"niv@iaglans.de","sentAt":"2006-12-22T01:35:10Z","receivedAt":"2006-12-22T01:35:10Z","isPatch":false,"sender":{"key":"niv@iaglans.de","avatar":"https://gravatar.com/avatar/e4d43a32d721241212d4edb1d2210327e28423c913071b4bfeeaa0ce15296110?d=mp&s=160"},"body":"On Wed, Dec 20, 2006 at 05:05:20PM -0800, Eric Wong wrote:\n> Nicolas Vilz <niv@iaglans.de> wrote:\n> > hello guys,\n> > \n> > it has been a while, i tried git in conjunction with svn... i got a nice\n> > history, when working with it. This Work is now a year old.\n> > \n> > Now I wanted to get on working and got following error message while\n> > fetching from one specific svn tracking branch:\n> > \n> > $ git-svn fetch -i svn_master\n> > perl: subversion/libsvn_subr/path.c:343: svn_path_remove_component: \n> > Assertion `is_canonical(path->data, path->len)' failed.\n> > Aborted\n> \n> I don't recall seeing that error before.\n> \n> Are you using the command-line client or the perl SVN libraries?  If\n> you're using the command-line client, you may want to try:\n> rm -rf .git/svn/svn_master/tree && git-svn rebuild -i svn_master\n> \n> > I checked the svn working copy, it is uptodate now (although i had to\n> > search for it, i havent been using this repository for one year...)\n> \n> Does the directory you're tracking the the repository still\n> exist?  If it disappeared, git-svn could have some issues with it\n> (regardless of command-line or SVN libraries).\n\nThe repository i am tracking does still exist. both, the tree and the\nrepository are on the same revision-number, so i am a bit clueless.\n\nI tried a fresh fetch of this repository, it worked. so it shouldn't be\na client-server version mismatch..\n\nI also tried \n\nrm -rf .git/svn/svn_master/tree && git-svn rebuild -i svn_master\n\nthis had no effect to git-svn fetch -i svn_master... i get the very same\nerror message...\n\nI didn't alter there anything, so i think, fetching works, but if\nnothing is there to fetch, there is the initial error message...\n\nbeneath there is svn, version 1.4.2 (r22196) ... on that repository is\nSubversion version 1.1.4 (r13838).\n\n\nNicolas Vilz\n"},{"id":"29999","messageId":"20061222021613.GB9595@hermes","threadId":"6070","inReplyTo":"20061222013510.GA9595@hermes","subject":"Re: git-svn throwing assertion on old svn tracking branch","fromName":"Nicolas Vilz","fromEmail":"niv@iaglans.de","sentAt":"2006-12-22T02:16:13Z","receivedAt":"2006-12-22T02:16:13Z","isPatch":false,"sender":{"key":"niv@iaglans.de","avatar":"https://gravatar.com/avatar/e4d43a32d721241212d4edb1d2210327e28423c913071b4bfeeaa0ce15296110?d=mp&s=160"},"body":"On Fri, Dec 22, 2006 at 02:35:10AM +0100, Nicolas Vilz wrote:\n> On Wed, Dec 20, 2006 at 05:05:20PM -0800, Eric Wong wrote:\n> > Nicolas Vilz <niv@iaglans.de> wrote:\n[...]\n> \n> The repository i am tracking does still exist. both, the tree and the\n> repository are on the same revision-number, so i am a bit clueless.\n> \n> I tried a fresh fetch of this repository, it worked. so it shouldn't be\n> a client-server version mismatch..\n> \n> I also tried \n> \n> rm -rf .git/svn/svn_master/tree && git-svn rebuild -i svn_master\n> \n> this had no effect to git-svn fetch -i svn_master... i get the very same\n> error message...\n> \n> I didn't alter there anything, so i think, fetching works, but if\n> nothing is there to fetch, there is the initial error message...\n> \n> beneath there is svn, version 1.4.2 (r22196) ... on that repository is\n> Subversion version 1.1.4 (r13838).\n\ni should ammend, that the same error message comes, when i want to\ndcommit something in this repository...\n"},{"id":"30029","messageId":"20061222083803.GD26800@hand.yhbt.net","threadId":"6070","inReplyTo":"20061222021613.GB9595@hermes","subject":"Re: git-svn throwing assertion on old svn tracking branch","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-12-22T08:38:03Z","receivedAt":"2006-12-22T08:38:03Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Nicolas Vilz <niv@iaglans.de> wrote:\n> On Fri, Dec 22, 2006 at 02:35:10AM +0100, Nicolas Vilz wrote:\n> > On Wed, Dec 20, 2006 at 05:05:20PM -0800, Eric Wong wrote:\n> > > Nicolas Vilz <niv@iaglans.de> wrote:\n> [...]\n> > beneath there is svn, version 1.4.2 (r22196) ... on that repository is\n> > Subversion version 1.1.4 (r13838).\n> \n> i should ammend, that the same error message comes, when i want to\n> dcommit something in this repository...\n\nWeird, so you have the SVN:: libraries installed? (dcommit requires it).\nIs the repository you're tracking public?  If so, I'd like to have a\nlook...\n\n-- \nEric Wong\n"},{"id":"30039","messageId":"20061222094337.GC9595@hermes","threadId":"6070","inReplyTo":"20061222083803.GD26800@hand.yhbt.net","subject":"Re: git-svn throwing assertion on old svn tracking branch","fromName":"Nicolas Vilz","fromEmail":"niv@iaglans.de","sentAt":"2006-12-22T09:43:38Z","receivedAt":"2006-12-22T09:43:38Z","isPatch":false,"sender":{"key":"niv@iaglans.de","avatar":"https://gravatar.com/avatar/e4d43a32d721241212d4edb1d2210327e28423c913071b4bfeeaa0ce15296110?d=mp&s=160"},"body":"On Fri, Dec 22, 2006 at 12:38:03AM -0800, Eric Wong wrote:\n> Nicolas Vilz <niv@iaglans.de> wrote:\n> > On Fri, Dec 22, 2006 at 02:35:10AM +0100, Nicolas Vilz wrote:\n> > > On Wed, Dec 20, 2006 at 05:05:20PM -0800, Eric Wong wrote:\n> > > > Nicolas Vilz <niv@iaglans.de> wrote:\n> > [...]\n> > > beneath there is svn, version 1.4.2 (r22196) ... on that repository is\n> > > Subversion version 1.1.4 (r13838).\n> > \n> > i should ammend, that the same error message comes, when i want to\n> > dcommit something in this repository...\n> \n> Weird, so you have the SVN:: libraries installed? (dcommit requires it).\n> Is the repository you're tracking public?  If so, I'd like to have a\n> look...\nunfortunatelly, its not public...\n\nI noticed, it is not the step of committing anything, but the step to\nfetch the revisions in the svn tree. I had a workaround last night... I\nused the documentation on Advanced Example: Tracking a Reorganized\nRepository to reorganize my tree from broken old repository to\nreorganized fresh tree that is working... that all because time was\nrunning out this night and i had to work something.\n\nI keep the old one as a souvenier... The problem lies somewhere there in\nthe old branch. The history is not lost here in any case.\n\nI backuped my repository and pruned my tree as you suggested it... I\nconnected to that remote repository... and then the assertion came down\non me. Personally i can live with that reorganized repository. If you\nare really keen on digging the error down to ground, i could try to\nsetup something.\n\nPerhaps back were i worked on that repository, git-svn accessed a little\ndifferent from now....\n\nIf you are still interested in digging, I think about a private solution\nfor that.\n\nSincerly\nNicolas Vilz\n"},{"id":"30159","messageId":"20061223064531.GB10460@localdomain","threadId":"6070","inReplyTo":"20061222094337.GC9595@hermes","subject":"Re: git-svn throwing assertion on old svn tracking branch","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-12-23T06:45:31Z","receivedAt":"2006-12-23T06:45:31Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Nicolas Vilz <niv@iaglans.de> wrote:\n> On Fri, Dec 22, 2006 at 12:38:03AM -0800, Eric Wong wrote:\n> > Nicolas Vilz <niv@iaglans.de> wrote:\n> > > On Fri, Dec 22, 2006 at 02:35:10AM +0100, Nicolas Vilz wrote:\n> > > > On Wed, Dec 20, 2006 at 05:05:20PM -0800, Eric Wong wrote:\n> > > > > Nicolas Vilz <niv@iaglans.de> wrote:\n> > > [...]\n> > > > beneath there is svn, version 1.4.2 (r22196) ... on that repository is\n> > > > Subversion version 1.1.4 (r13838).\n> > > \n> > > i should ammend, that the same error message comes, when i want to\n> > > dcommit something in this repository...\n> > \n> > Weird, so you have the SVN:: libraries installed? (dcommit requires it).\n> > Is the repository you're tracking public?  If so, I'd like to have a\n> > look...\n> unfortunatelly, its not public...\n> \n> I noticed, it is not the step of committing anything, but the step to\n> fetch the revisions in the svn tree. I had a workaround last night... I\n> used the documentation on Advanced Example: Tracking a Reorganized\n> Repository to reorganize my tree from broken old repository to\n> reorganized fresh tree that is working... that all because time was\n> running out this night and i had to work something.\n\nSo the repository was reorganized?  That could be it...\n\n> I keep the old one as a souvenier... The problem lies somewhere there in\n> the old branch. The history is not lost here in any case.\n\nGood to know :)\n\n> I backuped my repository and pruned my tree as you suggested it... I\n> connected to that remote repository... and then the assertion came down\n> on me. Personally i can live with that reorganized repository. If you\n> are really keen on digging the error down to ground, i could try to\n> setup something.\n> \n> Perhaps back were i worked on that repository, git-svn accessed a little\n> different from now....\n \nSome things have changed such as allowing access to repositories with\nlimited read permissions.  I'm not sure how/if that affects you.  If you\nhave time, can you try going back to revision\n30d055aa1e45b4740edc3bfbff77fa5d65e106ff?  Or try bisecting...\n\n-- \nEric Wong\n"},{"id":"30601","messageId":"20070101022734.GF7730@hand.yhbt.net","threadId":"6070","inReplyTo":"20061221010520.GB3901@localdomain","subject":"Re: git-svn throwing assertion on old svn tracking branch","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2007-01-01T02:27:34Z","receivedAt":"2007-01-01T02:27:34Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Eric Wong <normalperson@yhbt.net> wrote:\n> Nicolas Vilz <niv@iaglans.de> wrote:\n> > hello guys,\n> > \n> > it has been a while, i tried git in conjunction with svn... i got a nice\n> > history, when working with it. This Work is now a year old.\n> > \n> > Now I wanted to get on working and got following error message while\n> > fetching from one specific svn tracking branch:\n> > \n> > $ git-svn fetch -i svn_master\n> > perl: subversion/libsvn_subr/path.c:343: svn_path_remove_component: \n> > Assertion `is_canonical(path->data, path->len)' failed.\n> > Aborted\n\nActually, I just hit upon a weird bug in svm (SVN::Mirror) that was\nsimilar to this (line 114 of the same file, 1.4.2dfsg1-2 in Debian).\nCan you try taking the trailing slash out of the URL?\n(.git/svn/svn_master/info/url).\n\nThanks.\n\n-- \nEric Wong\n"},{"id":"30865","messageId":"20070105091855.GA10777@hermes.lan.home.vilz.de","threadId":"6070","inReplyTo":"20070101022734.GF7730@hand.yhbt.net","subject":"Re: git-svn throwing assertion on old svn tracking branch","fromName":"Nicolas Vilz","fromEmail":"niv@iaglans.de","sentAt":"2007-01-05T09:18:55Z","receivedAt":"2007-01-05T09:18:55Z","isPatch":false,"sender":{"key":"niv@iaglans.de","avatar":"https://gravatar.com/avatar/e4d43a32d721241212d4edb1d2210327e28423c913071b4bfeeaa0ce15296110?d=mp&s=160"},"body":"On Sun, Dec 31, 2006 at 06:27:34PM -0800, Eric Wong wrote:\n> Eric Wong <normalperson@yhbt.net> wrote:\n> > Nicolas Vilz <niv@iaglans.de> wrote:\n> > > hello guys,\n> > > \n> > > it has been a while, i tried git in conjunction with svn... i got a nice\n> > > history, when working with it. This Work is now a year old.\n> > > \n> > > Now I wanted to get on working and got following error message while\n> > > fetching from one specific svn tracking branch:\n> > > \n> > > $ git-svn fetch -i svn_master\n> > > perl: subversion/libsvn_subr/path.c:343: svn_path_remove_component: \n> > > Assertion `is_canonical(path->data, path->len)' failed.\n> > > Aborted\n> \n> Actually, I just hit upon a weird bug in svm (SVN::Mirror) that was\n> similar to this (line 114 of the same file, 1.4.2dfsg1-2 in Debian).\n> Can you try taking the trailing slash out of the URL?\n> (.git/svn/svn_master/info/url).\n> \n> Thanks.\n\n\nActually I can fetch the revisions now again. Maybe that that little\ntrailing slash did it.\n\nNicolas Vilz\n"}]}