Hi everyone, I tried to clone the git mirrors and set up git-svn metadata according to these instructions: http://llvm.org/docs/GettingStarted.html#git-mirror Importantly, I did this (replacing <username>, of course): % git svn init https://llvm.org/svn/llvm-project/llvm/trunk --username=<username> % git config svn-remote.svn.fetch :refs/remotes/origin/master % git svn rebase -l # -l avoids fetching ahead of the git mirror. I did this for llvm, clang, compiler-rt, test-suite and dragonegg. This worked fine for llvm. For compiler-rt and dragonegg, I get: % git fetch % git svn rebase -l Unable to determine upstream SVN information from working tree history clang and test-suite have not finished the git svn rebase yet but I imagine they might fail in the same way. Is svn metadata missing from some of the upstream git mirrors? I really don't want to git-svn fetch if I can avoid it. Thanks for your help! -David
On Thu, Jun 19, 2014 at 11:52 AM, <dag at cray.com> wrote:> Hi everyone, > > I tried to clone the git mirrors and set up git-svn metadata according > to these instructions: > > http://llvm.org/docs/GettingStarted.html#git-mirror > > Importantly, I did this (replacing <username>, of course): > > % git svn init https://llvm.org/svn/llvm-project/llvm/trunk --username=<username> > % git config svn-remote.svn.fetch :refs/remotes/origin/master > % git svn rebase -l # -l avoids fetching ahead of the git mirror. > > I did this for llvm, clang, compiler-rt, test-suite and dragonegg. This > worked fine for llvm. For compiler-rt and dragonegg, I get: > > % git fetch > % git svn rebase -l > Unable to determine upstream SVN information from working tree history > > clang and test-suite have not finished the git svn rebase yet but I > imagine they might fail in the same way. > > Is svn metadata missing from some of the upstream git mirrors? I really > don't want to git-svn fetch if I can avoid it. > > Thanks for your help! >I use it for clang and llvm. I haven't tried for the others. -eric
Eric Christopher <echristo at gmail.com> writes:> On Thu, Jun 19, 2014 at 11:52 AM, <dag at cray.com> wrote: > >> Is svn metadata missing from some of the upstream git mirrors? I really >> don't want to git-svn fetch if I can avoid it. > > I use it for clang and llvm. I haven't tried for the others.According to the web page, it should at least work for test-suite and compiler-rt. test-suite did end up failing. clang still going... -David