[llvm-commits] [PATCH] Document how to maintain a git-svn clone of the LLVM git repositories

NAKAMURA Takumi geek4civic at gmail.com
Tue Jul 19 16:18:53 PDT 2011


Good morning, Jakob.

2011/7/19 Jakob Stoklund Olesen <stoklund at 2pi.dk>:
> There are many ways of doing things with Git, and I am sure yours works well, but we should keep the instructions as simple as possible.
>
> I think Jeffrey's notes are sufficient. People can add their own tricks depending on their git-fu. We should just provide the basics a newbie needs.

I don't think using "git-svn rebase -l" would be simple.
git-svn stuff should be used to interact to svn repo.

It would be enough "git pull" instead of "git fetch origin; git svn rebase -l".
(.rev_map is not needed to be up-to-date unless git-svn command would be used)

At committing, git-svn rebase could be used.
$ git svn rebase -l
$ git svn dcommit
Also git-svn dcommit can update .rev_map, We can use "git pull
--rebase" instead of "git svn rebase -l".

BTW, setting up authorsfile might be pain, but it should reduce
accidental undesirable committing by git-svn fetch. (Please consider,
what would happen if "-l" were missed on executing "git-svn rebase"?)

Happy hacking!
...Takumi



More information about the llvm-commits mailing list