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

Anton Korobeynikov anton at korobeynikov.info
Tue Sep 17 11:02:58 PDT 2013


> 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...
Maybe it will be better to detect git-svn and in such case show both
git hash and svn revision?

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




More information about the llvm-dev mailing list