[LLVMdev] Official git mirroring of llvm, clang, lldb, test-suite, etc.?
David A. Greene
greened at obbligato.org
Mon Jan 31 15:29:17 PST 2011
Óscar Fuentes <ofv at wanadoo.es> writes:
> greened at obbligato.org (David A. Greene) writes:
>
>> I can't use git-svn to pull because we use svn on our end. One can't do
>> this:
>>
>> (Upstream) svn <--> git-svn <--> git <--> git-svn <--> svn (Downstream)
>>
>> because the revisions in the two svn repositories don't have anything to
>> do with each other.
> But if you want to transfer revisions from LLVM's svn to your svn repo,
> maybe you can do that:
>
> (Upstream) svn <--> git-svn <--> svn (Downstream)
>
> You would use two git-svn branches on the git repo, one for each svn
> repo, and merge revisions among the two. I'm not user if that's
> possible, though. Another option is to use two git-svn repos:
>
> (Upstream) svn <--> git-svn <--> git-svn <--> svn (Downstream)
I asked about both to the git guys. They said it isn't supported.
Double-ended git-svn just won't work, period. You can't do it because a
git branch is still tied to the revision numbering of the first git-svn
gateway created. Git branches still must relate to each other, they
can't run independently or one wouldn't get any merging benefit.
>> It would be even better if LLVM had a git mirror that could push changes
>> to svn as well but let's do things one step at a time. :)
>
> The difficult part is not on LLVM's using svn, the problem is on you
> using svn.
Umm...that's more than a bit off-putting, thanks. If it's a problem to
use svn (and it IS a problem), then it's a problem on BOTH ends. That
is in fact why people are asking about it. Remember, it ain't just me.
I didn't even bring up this current thread.
And to be clear, the root of the problem _is_ LLVM's using svn because
it doesn't allow the kind of distributed development natural to an open
source project. If one is not supposed to use svn (the official blessed
LLVM SCM) on "our side," pray tell, what _are_ we supposed to use?
> And for a git mirror that pushes changes to the LLVM svn repo, that's
> *way* more tricky than it seems.
I suspect for exactly the same reasons git-svn isn't tenable in general.
svn is just bad business all around.
-Dave
More information about the llvm-dev
mailing list