[LLVMdev] [cfe-dev] Reminder: LLVM 2.9 Branching in One Week

Anton Korobeynikov anton at korobeynikov.info
Mon Mar 7 17:30:47 PST 2011


Hi David

> I think the trouble with branches is the lockdown of the root repository
> directory.
Surely not (at the server)

> git svn init --stdlayout https://<user>@llvm.org/svn/llvm-project/llvm \
>  --ignore-paths="^.*(Apple|PowerPC.*|SVA|eh-experimental|ggreif|non-call-eh|parallel|release_.*|vector_llvm|wendling|May2007|checker|cremebrulee|start|RELEASE_1.*|RELEASE_2[0-7])"
Several problems here:
1. Bunch of additional branches / tags are created due to multiple
branch points. I don't recall for llvm, but for clang we'll end with
two tags per each release. Something like:
$ git branch -r
  trunk
  tags/RELEASE_26
  tags/RELEASE_26 at 84939
  tags/RELEASE_27
  tags/RELEASE_27 at 102415
  tags/RELEASE_28
  tags/RELEASE_28 at 115869

The problem will be much worse with new release branch scheme,
basically we'll need to add each branch by hand, etc...
2. We really don't want to push arbitrary branches to git repository.
It's really easy to add branch by an accident, so it will be much
better not to ignore stuff, but except - add by some pattern.
Unfortunately, git-svn does not allow this yet.

So, right now I'm experimenting with various ways of doing stuff, but
the results looks not pretty good.
If anything would give me a working all-in-one cmdline / .git/config
entry - I'd really appreciate this :)

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list