{"thread":{"id":"8302","subject":"t9107-git-svn-migrate.sh fails","startedAt":"2007-05-24T22:18:41Z","lastAt":"2007-05-27T18:50:59Z","messageCount":5,"participants":["Johannes Schindelin","Eric Wong","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"43188","messageId":"Pine.LNX.4.64.0705242315550.4648@racer.site","threadId":"8302","inReplyTo":null,"subject":"t9107-git-svn-migrate.sh fails","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-05-24T22:18:41Z","receivedAt":"2007-05-24T22:18:41Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nI recently wanted to use git-svn, and installed the svn perl bindings. \nSince then, t9107 is failing:\n\n-- snip --\n[...]\nRebuilding .git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 \n...\nr1 = b9b82a419abdbb54f51a41bc8a3118b28c791ac1\nDone rebuilding \n.git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\ndiff --git \na/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 \nb/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db\nindex d3f1b6e..01d8afd 100644\n--- \na/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n+++ b/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db\n@@ -1,2 +1 @@\n-0000000000000000000000000000000000000000\n-6aa651a66730888e854a8de54199d62ffa402739\n+.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n\\ No newline at end of file\n* FAIL 7: .rev_db auto-converted to .rev_db.UUID\n\n                git-svn fetch -i trunk &&\n\t\t[...]\n-- snap --\n\nUsually I try to fix things like this myself, but I really have to get \nsome dinner now. Besides, other people than me seem to be way more clever \nwith perl code.\n\nAnybody knows how to fix this?\n\nCiao,\nDscho\n"},{"id":"43340","messageId":"20070526093534.GB12639@muzzle","threadId":"8302","inReplyTo":"Pine.LNX.4.64.0705242315550.4648@racer.site","subject":"Re: t9107-git-svn-migrate.sh fails","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2007-05-26T09:35:34Z","receivedAt":"2007-05-26T09:35:34Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:\n> Hi,\n> \n> I recently wanted to use git-svn, and installed the svn perl bindings. \n> Since then, t9107 is failing:\n> \n> -- snip --\n> [...]\n> Rebuilding .git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 \n> ...\n> r1 = b9b82a419abdbb54f51a41bc8a3118b28c791ac1\n> Done rebuilding \n> .git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> diff --git \n> a/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 \n> b/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db\n> index d3f1b6e..01d8afd 100644\n> --- \n> a/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> +++ b/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db\n> @@ -1,2 +1 @@\n> -0000000000000000000000000000000000000000\n> -6aa651a66730888e854a8de54199d62ffa402739\n> +.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> \\ No newline at end of file\n> * FAIL 7: .rev_db auto-converted to .rev_db.UUID\n> \n>                 git-svn fetch -i trunk &&\n> \t\t[...]\n> -- snap --\n> \n> Usually I try to fix things like this myself, but I really have to get \n> some dinner now. Besides, other people than me seem to be way more clever \n> with perl code.\n\n.git/svn/trunk/.rev_db should be\na symlink to\n.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n\nI keep .rev_db around as a symlink for backwards compatibility in case\nthe user wants to downgrade.\n\nI'm running cmp(1) to compare the file and symlink.  Are you running\ndiff2[1] replacements in your tree and it's not understanding symlinks?\n\n> Anybody knows how to fix this?\n\nWorks for me(TM).\n\n[1] - I think that's what you called it.  I have had trouble keeping\nup-to-date with git things lately.\n\n-- \nEric Wong\n"},{"id":"43342","messageId":"Pine.LNX.4.64.0705261123420.4648@racer.site","threadId":"8302","inReplyTo":"20070526093534.GB12639@muzzle","subject":"Re: t9107-git-svn-migrate.sh fails","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-05-26T10:30:45Z","receivedAt":"2007-05-26T10:30:45Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sat, 26 May 2007, Eric Wong wrote:\n\n> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:\n> > \n> > I recently wanted to use git-svn, and installed the svn perl bindings. \n> > Since then, t9107 is failing:\n> > \n> > -- snip --\n> > [...]\n> > Rebuilding .git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 \n> > ...\n> > r1 = b9b82a419abdbb54f51a41bc8a3118b28c791ac1\n> > Done rebuilding \n> > .git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> > diff --git \n> > a/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 \n> > b/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db\n> > index d3f1b6e..01d8afd 100644\n> > --- \n> > a/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> > +++ b/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db\n> > @@ -1,2 +1 @@\n> > -0000000000000000000000000000000000000000\n> > -6aa651a66730888e854a8de54199d62ffa402739\n> > +.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> > \\ No newline at end of file\n> > * FAIL 7: .rev_db auto-converted to .rev_db.UUID\n> > \n> >                 git-svn fetch -i trunk &&\n> > \t\t[...]\n> > -- snap --\n> > \n> > Usually I try to fix things like this myself, but I really have to get \n> > some dinner now. Besides, other people than me seem to be way more clever \n> > with perl code.\n> \n> .git/svn/trunk/.rev_db should be\n> a symlink to\n> .git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> \n> I keep .rev_db around as a symlink for backwards compatibility in case\n> the user wants to downgrade.\n> \n> I'm running cmp(1) to compare the file and symlink.  Are you running\n> diff2[1] replacements in your tree and it's not understanding symlinks?\n\nD'oh!\n\nYes, I did a wholesale replacement of all cmp and diff invocations to \ngit-diff.\n\nTwo thoughts:\n\n\t- why don't you check it with readlink?\n\n\t- git diff should really output something when a file is compared \n\t\tto a symlink...\n\nI guess the second is something for my TODO list.\n\n> > Anybody knows how to fix this?\n> \n> Works for me(TM).\n\nChanging the check back to cmp make it work here, too.\n\n> [1] - I think that's what you called it.  I have had trouble keeping\n> up-to-date with git things lately.\n\nYep, I called it diff2. But we found out that we can DWIM git-diff to do \nit; if in doubt, just say \"git diff --no-index\".\n\nCiao,\nDscho\n"},{"id":"43443","messageId":"20070527172336.GA27725@muzzle","threadId":"8302","inReplyTo":"Pine.LNX.4.64.0705261123420.4648@racer.site","subject":"Re: t9107-git-svn-migrate.sh fails","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2007-05-27T17:23:36Z","receivedAt":"2007-05-27T17:23:36Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:\n> Hi,\n> \n> On Sat, 26 May 2007, Eric Wong wrote:\n> \n> > Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:\n> > > \n> > > I recently wanted to use git-svn, and installed the svn perl bindings. \n> > > Since then, t9107 is failing:\n> > > \n> > > -- snip --\n> > > [...]\n> > > Rebuilding .git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 \n> > > ...\n> > > r1 = b9b82a419abdbb54f51a41bc8a3118b28c791ac1\n> > > Done rebuilding \n> > > .git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> > > diff --git \n> > > a/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 \n> > > b/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db\n> > > index d3f1b6e..01d8afd 100644\n> > > --- \n> > > a/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> > > +++ b/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db\n> > > @@ -1,2 +1 @@\n> > > -0000000000000000000000000000000000000000\n> > > -6aa651a66730888e854a8de54199d62ffa402739\n> > > +.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> > > \\ No newline at end of file\n> > > * FAIL 7: .rev_db auto-converted to .rev_db.UUID\n> > > \n> > >                 git-svn fetch -i trunk &&\n> > > \t\t[...]\n> > > -- snap --\n> > > \n> > > Usually I try to fix things like this myself, but I really have to get \n> > > some dinner now. Besides, other people than me seem to be way more clever \n> > > with perl code.\n> > \n> > .git/svn/trunk/.rev_db should be\n> > a symlink to\n> > .git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6\n> > \n> > I keep .rev_db around as a symlink for backwards compatibility in case\n> > the user wants to downgrade.\n> > \n> > I'm running cmp(1) to compare the file and symlink.  Are you running\n> > diff2[1] replacements in your tree and it's not understanding symlinks?\n> \n> D'oh!\n> \n> Yes, I did a wholesale replacement of all cmp and diff invocations to \n> git-diff.\n> \n> Two thoughts:\n> \n> \t- why don't you check it with readlink?\n\nI'm not sure about the portability of readlink(1).  cmp(1) is used in\nseveral places already, whereas readlink(1) is not.\n\n> \t- git diff should really output something when a file is compared \n> \t\tto a symlink...\n> \n> I guess the second is something for my TODO list.\n> \n> > > Anybody knows how to fix this?\n> > \n> > Works for me(TM).\n> \n> Changing the check back to cmp make it work here, too.\n> \n> > [1] - I think that's what you called it.  I have had trouble keeping\n> > up-to-date with git things lately.\n> \n> Yep, I called it diff2. But we found out that we can DWIM git-diff to do \n> it; if in doubt, just say \"git diff --no-index\".\n\nCool :)\n\n-- \nEric Wong\n"},{"id":"43445","messageId":"7v646egkx8.fsf@assigned-by-dhcp.cox.net","threadId":"8302","inReplyTo":"20070527172336.GA27725@muzzle","subject":"Re: t9107-git-svn-migrate.sh fails","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-05-27T18:50:59Z","receivedAt":"2007-05-27T18:50:59Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Eric Wong <normalperson@yhbt.net> writes:\n\n> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:\n>> \n>> Two thoughts:\n>> \n>> \t- why don't you check it with readlink?\n>\n> I'm not sure about the portability of readlink(1).  cmp(1) is used in\n> several places already, whereas readlink(1) is not.\n\nYou did a very sensible thing; avoidance of readlink has been\nvery deliberate.  And I'd be happier if things stayed that way.\n"}]}