{"thread":{"id":"18492","subject":"git svn teething problems - initial clone okay - fetches not working","startedAt":"2009-03-23T19:06:55Z","lastAt":"2009-03-24T11:45:26Z","messageCount":9,"participants":["Aaron Gray","Tim Visher","Pascal Obry"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"109097","messageId":"2BACA6CC2F9647C19C0463120219E694@HPLAPTOP","threadId":"18492","inReplyTo":null,"subject":"git svn teething problems - initial clone okay - fetches not working","fromName":"Aaron Gray","fromEmail":"aaronngray.lists@googlemail.com","sentAt":null,"receivedAt":"2009-03-23T19:06:55Z","isPatch":false,"sender":{"key":"aaronngray.lists@googlemail.com","avatar":null},"body":"Hi,\n\nI am a newbie to git, so be warned :)\n\nI have installed git-daemon, and gitweb on an F10 server.\n\nBasically managed to do a 'git svn clone' on LLVM, it took 11 hours !\n\nAnyway I am having the problem that I can do a 'git svn fetch' and I see \nchanges coming in. But the gitweb and another git clone from it do not \nreflect those changes. The repository is still showing its two days old.\n\nI am obviously missing something. The only documentation I could find on \n'git svn' was the command line help and 'man git-svn'.\n\nHope you can help,\n\nAaron\n"},{"id":"109098","messageId":"c115fd3c0903231243n1cddf1f1ra88b00ca8db83044@mail.gmail.com","threadId":"18492","inReplyTo":"2BACA6CC2F9647C19C0463120219E694@HPLAPTOP","subject":"Re: git svn teething problems - initial clone okay - fetches not working","fromName":"Tim Visher","fromEmail":"tim.visher@gmail.com","sentAt":"2009-03-23T19:43:15Z","receivedAt":"2009-03-23T19:43:15Z","isPatch":false,"sender":{"key":"tim.visher@gmail.com","avatar":"https://gravatar.com/avatar/98307ce54bcac1a46b5d845827d5386e2a27895ff08790cdd3877ad527760575?d=mp&s=160"},"body":"I had a lot of success when I was more actively using `git svn` with\n`git svn rebase`.  Just be sure that you're doing your work in local\nbranches and then merging back into the main trunk branches that are\ntracking the svn repo, that way you can always get the latest changes\nfrom your clean trunk branch.\n\nOn Mon, Mar 23, 2009 at 3:30 PM, Aaron Gray\n<aaronngray.lists@googlemail.com> wrote:\n> Hi,\n>\n> I am a newbie to git, so be warned :)\n>\n> I have installed git-daemon, and gitweb on an F10 server.\n>\n> Basically managed to do a 'git svn clone' on LLVM, it took 11 hours !\n>\n> Anyway I am having the problem that I can do a 'git svn fetch' and I see\n> changes coming in. But the gitweb and another git clone from it do not\n> reflect those changes. The repository is still showing its two days old.\n>\n> I am obviously missing something. The only documentation I could find on\n> 'git svn' was the command line help and 'man git-svn'.\n>\n> Hope you can help,\n>\n> Aaron\n>\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-- \n\nIn Christ,\n\nTimmy V.\n\nhttp://burningones.com/\nhttp://five.sentenc.es/ - Spend less time on e-mail\n"},{"id":"109100","messageId":"A8BADC6827F1425795889EC684D1C75C@HPLAPTOP","threadId":"18492","inReplyTo":"c115fd3c0903231243n1cddf1f1ra88b00ca8db83044@mail.gmail.com","subject":"Re: git svn teething problems - initial clone okay - fetches not working","fromName":"Aaron Gray","fromEmail":"aaronngray.lists@googlemail.com","sentAt":null,"receivedAt":"2009-03-23T19:53:05Z","isPatch":false,"sender":{"key":"aaronngray.lists@googlemail.com","avatar":null},"body":">I had a lot of success when I was more actively using `git svn` with\n>`git svn rebase`.  Just be sure that you're doing your work in local\n>branches and then merging back into the main trunk branches that are\n>tracking the svn repo, that way you can always get the latest changes\n>from your clean trunk branch.\n\nI tried a rebase and filenames with 'needs update' after them flew by then \nan error message  :-\n\nupdate-index --refresh: command returned error: 1\n\nAaron\n\nOn Mon, Mar 23, 2009 at 3:30 PM, Aaron Gray\n<aaronngray.lists@googlemail.com> wrote:\n> Hi,\n>\n> I am a newbie to git, so be warned :)\n>\n> I have installed git-daemon, and gitweb on an F10 server.\n>\n> Basically managed to do a 'git svn clone' on LLVM, it took 11 hours !\n>\n> Anyway I am having the problem that I can do a 'git svn fetch' and I see\n> changes coming in. But the gitweb and another git clone from it do not\n> reflect those changes. The repository is still showing its two days old.\n>\n> I am obviously missing something. The only documentation I could find on\n> 'git svn' was the command line help and 'man git-svn'.\n>\n> Hope you can help,\n>\n> Aaron\n>\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-- \n\nIn Christ,\n\nTimmy V.\n\nhttp://burningones.com/\nhttp://five.sentenc.es/ - Spend less time on e-mail \n"},{"id":"109104","messageId":"49C7F92A.5050809@obry.net","threadId":"18492","inReplyTo":"2BACA6CC2F9647C19C0463120219E694@HPLAPTOP","subject":"Re: git svn teething problems - initial clone okay - fetches not working","fromName":"Pascal Obry","fromEmail":"pascal@obry.net","sentAt":"2009-03-23T21:03:38Z","receivedAt":"2009-03-23T21:03:38Z","isPatch":false,"sender":{"key":"pascal@obry.net","avatar":"https://avatars.githubusercontent.com/u/467069?v=4"},"body":"Aaron Gray a écrit :\n> Anyway I am having the problem that I can do a 'git svn fetch' and I see\n> changes coming in. But the gitweb and another git clone from it do not\n> reflect those changes. The repository is still showing its two days old.\n\nYou need a:\n\n   $ git svn rebase\n\nto fetch *and* merge the changes into the local tracking branch (master\nby default).\n\nPascal.\n\n-- \n\n--|------------------------------------------------------\n--| Pascal Obry                           Team-Ada Member\n--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE\n--|------------------------------------------------------\n--|    http://www.obry.net  -  http://v2p.fr.eu.org\n--| \"The best way to travel is by means of imagination\"\n--|\n--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B\n"},{"id":"109106","messageId":"0381B9A616514FC2A05BACAB07EE3117@HPLAPTOP","threadId":"18492","inReplyTo":"49C7F92A.5050809@obry.net","subject":"Re: git svn teething problems - initial clone okay - fetches not working","fromName":"Aaron Gray","fromEmail":"aaronngray.lists@googlemail.com","sentAt":null,"receivedAt":"2009-03-23T21:10:11Z","isPatch":false,"sender":{"key":"aaronngray.lists@googlemail.com","avatar":null},"body":"> Aaron Gray a écrit :\n>> Anyway I am having the problem that I can do a 'git svn fetch' and I see\n>> changes coming in. But the gitweb and another git clone from it do not\n>> reflect those changes. The repository is still showing its two days old.\n>\n> You need a:\n>\n>   $ git svn rebase\n\nI tried that.\n\n> to fetch *and* merge the changes into the local tracking branch (master\n> by default).\n\nPascal,\n\nCould you give me a full set of instructions for importing :-\n\n    http://llvm.org/svn/llvm-project/llvm\n\nThanks,\n\nAaron\n"},{"id":"109108","messageId":"c115fd3c0903231458t7ac8ac69if6b7bdb3a7d8861b@mail.gmail.com","threadId":"18492","inReplyTo":"0381B9A616514FC2A05BACAB07EE3117@HPLAPTOP","subject":"Re: git svn teething problems - initial clone okay - fetches not working","fromName":"Tim Visher","fromEmail":"tim.visher@gmail.com","sentAt":"2009-03-23T21:58:08Z","receivedAt":"2009-03-23T21:58:08Z","isPatch":false,"sender":{"key":"tim.visher@gmail.com","avatar":"https://gravatar.com/avatar/98307ce54bcac1a46b5d845827d5386e2a27895ff08790cdd3877ad527760575?d=mp&s=160"},"body":"On Mon, Mar 23, 2009 at 5:31 PM, Aaron Gray\n<aaronngray.lists@googlemail.com> wrote:\n>> Aaron Gray a écrit :\n>>>\n>>> Anyway I am having the problem that I can do a 'git svn fetch' and I see\n>>> changes coming in. But the gitweb and another git clone from it do not\n>>> reflect those changes. The repository is still showing its two days old.\n>>\n>> You need a:\n>>\n>>  $ git svn rebase\n>\n> I tried that.\n>\n>> to fetch *and* merge the changes into the local tracking branch (master\n>> by default).\n>\n> Pascal,\n>\n> Could you give me a full set of instructions for importing :-\n>\n>   http://llvm.org/svn/llvm-project/llvm\n>\n\nIt sounds like your working directory might be dirty.  Are you sure\nall of your changes have been committed?\n\n-- \n\nIn Christ,\n\nTimmy V.\n\nhttp://burningones.com/\nhttp://five.sentenc.es/ - Spend less time on e-mail\n"},{"id":"109110","messageId":"D9560AEA971144C99A0540C08AAFC3D1@HPLAPTOP","threadId":"18492","inReplyTo":"c115fd3c0903231458t7ac8ac69if6b7bdb3a7d8861b@mail.gmail.com","subject":"Re: git svn teething problems - initial clone okay - fetches not working","fromName":"Aaron Gray","fromEmail":"aaronngray.lists@googlemail.com","sentAt":null,"receivedAt":"2009-03-23T22:03:33Z","isPatch":false,"sender":{"key":"aaronngray.lists@googlemail.com","avatar":null},"body":"On Mon, Mar 23, 2009 at 5:31 PM, Aaron Gray\n<aaronngray.lists@googlemail.com> wrote:\n>> Aaron Gray a écrit :\n>>>\n>>> Anyway I am having the problem that I can do a 'git svn fetch' and I see\n>>> changes coming in. But the gitweb and another git clone from it do not\n>>> reflect those changes. The repository is still showing its two days old.\n>>\n>> You need a:\n>>\n>>  $ git svn rebase\n>\n> I tried that.\n>\n>> to fetch *and* merge the changes into the local tracking branch (master\n>> by default).\n>\n> Pascal,\n>\n> Could you give me a full set of instructions for importing :-\n>\n>   http://llvm.org/svn/llvm-project/llvm\n>\n\n   It sounds like your working directory might be dirty.  Are you sure\n   all of your changes have been committed?\n\nProbably. I am getting an error on doing 'git svn rebase' :-\n\nmany filenames * : needs update\nupdate---index --refresh: command returned error: 1\n\n\nCould you please give me the command to import the above SVN repository so I \ncan redo the thing from scratch.\n\nMany thanks in advance,\n\nAaron\n"},{"id":"109158","messageId":"49C880B7.1030307@obry.net","threadId":"18492","inReplyTo":"D9560AEA971144C99A0540C08AAFC3D1@HPLAPTOP","subject":"Re: git svn teething problems - initial clone okay - fetches not working","fromName":"Pascal Obry","fromEmail":"pascal@obry.net","sentAt":"2009-03-24T06:41:59Z","receivedAt":"2009-03-24T06:41:59Z","isPatch":false,"sender":{"key":"pascal@obry.net","avatar":"https://avatars.githubusercontent.com/u/467069?v=4"},"body":"Aaron Gray a écrit :\n> Probably. I am getting an error on doing 'git svn rebase' :-\n> \n> many filenames * : needs update\n> update---index --refresh: command returned error: 1\n\nSo before the rebase try:\n\n   $ git reset --hard HEAD\n\nthen\n\n   $ git svn rebase\n\n> Could you please give me the command to import the above SVN repository\n> so I can redo the thing from scratch.\n\nWhat you have done (at least described here in this forum) seems correct.\n\nPascal.\n\n-- \n\n--|------------------------------------------------------\n--| Pascal Obry                           Team-Ada Member\n--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE\n--|------------------------------------------------------\n--|    http://www.obry.net  -  http://v2p.fr.eu.org\n--| \"The best way to travel is by means of imagination\"\n--|\n--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B\n"},{"id":"109205","messageId":"c115fd3c0903240445s2dd91d57wb2e0905aad8d4d56@mail.gmail.com","threadId":"18492","inReplyTo":"49C880B7.1030307@obry.net","subject":"Re: git svn teething problems - initial clone okay - fetches not working","fromName":"Tim Visher","fromEmail":"tim.visher@gmail.com","sentAt":"2009-03-24T11:45:26Z","receivedAt":"2009-03-24T11:45:26Z","isPatch":false,"sender":{"key":"tim.visher@gmail.com","avatar":"https://gravatar.com/avatar/98307ce54bcac1a46b5d845827d5386e2a27895ff08790cdd3877ad527760575?d=mp&s=160"},"body":"On Tue, Mar 24, 2009 at 2:41 AM, Pascal Obry <pascal@obry.net> wrote:\n> Aaron Gray a écrit :\n>> Probably. I am getting an error on doing 'git svn rebase' :-\n>>\n>> many filenames * : needs update\n>> update---index --refresh: command returned error: 1\n>\n> So before the rebase try:\n>\n>   $ git reset --hard HEAD\n>\n> then\n>\n>   $ git svn rebase\n>\n\nTo be clear, this will destroy any non-committed changes in your\nworking copy so if you in fact are erroneously getting those errors\nbecause you forgot to do a `git add .; git commit` on files you've\nchanged that you _meant_ to change, then you will lose those changes.\nWhat's the output of `git status`?\n\n-- \n\nIn Christ,\n\nTimmy V.\n\nhttp://burningones.com/\nhttp://five.sentenc.es/ - Spend less time on e-mail\n"}]}