[llvm-branch-commits] [cfe-branch] r117796 - /cfe/branches/Apple/whitney-IB/ClangBNI.mk
Daniel Dunbar
daniel at zuster.org
Sat Oct 30 09:52:35 PDT 2010
Author: ddunbar
Date: Sat Oct 30 11:52:35 2010
New Revision: 117796
URL: http://llvm.org/viewvc/llvm-project?rev=117796&view=rev
Log:
Add rebranch-clang-from-revision utility.
Modified:
cfe/branches/Apple/whitney-IB/ClangBNI.mk
Modified: cfe/branches/Apple/whitney-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney-IB/ClangBNI.mk?rev=117796&r1=117795&r2=117796&view=diff
==============================================================================
--- cfe/branches/Apple/whitney-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/whitney-IB/ClangBNI.mk Sat Oct 30 11:52:35 2010
@@ -296,6 +296,7 @@
SVN_UTILITY_TARGETS := \
test-svn update-sources \
rebranch-llvm-from-tag rebranch-clang-from-tag \
+ rebranch-clang-from-revision \
tag-clang retag-clang
ifneq ($(strip $(foreach i,$(SVN_UTILITY_TARGETS), $(filter $(i),$(MAKECMDGOALS)))),)
SVN_UTILITY_MODE := 1
@@ -388,6 +389,14 @@
$(SVN_COMMAND) rm -m 'Remove for branch of Clang.' $(Clang_Branch_Path)
$(SVN_COMMAND) cp -m 'Rebranch Clang from clang-$(VERSION).' $(SVN_TAGS)/clang-$(VERSION)/src/tools/clang $(Clang_Branch_Path)
+rebranch-clang-from-revision:
+ @if ! [ -n "$(REVISION)" ]; then \
+ echo Usage: make $@ REVISION=100000; \
+ false; \
+ fi
+ $(SVN_COMMAND) rm -m 'Remove for branch of Clang.' $(Clang_Branch_Path)
+ $(SVN_COMMAND) cp -m 'Rebranch Clang from clang trunk at r$(REVISION).' $(SVN_BASE)/cfe/trunk@$(REVISION) $(Clang_Branch_Path)
+
tag-clang:
@if ! [ -n "$(VERSION)" ]; then \
echo Usage: make $@ VERSION=25; \
More information about the llvm-branch-commits
mailing list