[LLVMdev] [PATCH] Detect SVN revision and path on Git working copy

David Chisnall David.Chisnall at cl.cam.ac.uk
Tue Sep 17 10:27:17 PDT 2013


On 17 Sep 2013, at 18:18, Mark Lacey <mark.lacey at apple.com> wrote:

> This means that from build to build, depending on whether a Git change or SVN change is the most recent on my branch, I will get different results. That seems problematic.

If you're not rebasing after pulling in changes from LLVM svn, then you're going to be in for a world of pain later (I, unfortunately, speak from experience here).  If you're following a git tree that has any patches on top of svn ToT then you will see a git commit as the most recent one.  If you're following svn via git but don't have any local patches, then you'll get the same build if you did an svn checkout.  If you do git pull from the git svn mirrors without --rebase then you're already setting yourself up for so many problems that nothing we do can really help you...

David





More information about the llvm-dev mailing list