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

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Jul 18 16:25:55 PDT 2011


On Jul 18, 2011, at 4:14 PM, Jeffrey Yasskin wrote:

> These instructions are based on
> http://groups.google.com/group/llvm-dev/browse_thread/thread/33256daf28f0f18c/0449f6bce452e7b8?#0449f6bce452e7b8.
> I don't actually know git well enough to know if they're right, but
> they seem to work.

I use:

  git fetch -p origin
  git update-ref refs/remotes/git-svn origin/master
  git svn rebase -l

instead of changing the svn-remote.svn.fetch setting, but I think both will work.

I don't think 'git checkout master' is needed in the update script. In fact, I often use the above script to rebase arbitrary branches onto trunk.

/jakob




More information about the llvm-commits mailing list