[nginx] Removed vestiges of SVN.

Ruslan Ermilov ru at nginx.com
Wed May 15 11:05:43 UTC 2013


details:   http://hg.nginx.org/nginx/rev/09dbd363050a
branches:  
changeset: 5212:09dbd363050a
user:      Ruslan Ermilov <ru at nginx.com>
date:      Thu Apr 25 17:41:45 2013 +0400
description:
Removed vestiges of SVN.

diffstat:

 misc/GNUmakefile |  31 ++-----------------------------
 misc/README      |   3 ---
 2 files changed, 2 insertions(+), 32 deletions(-)

diffs (64 lines):

diff -r ecd762770729 -r 09dbd363050a misc/GNUmakefile
--- a/misc/GNUmakefile	Wed May 15 12:23:44 2013 +0400
+++ b/misc/GNUmakefile	Thu Apr 25 17:41:45 2013 +0400
@@ -3,7 +3,6 @@ VER =		$(shell grep 'define NGINX_VERSIO
 			| sed -e 's/^.*"\(.*\)".*/\1/')
 NGINX =		nginx-$(VER)
 TEMP =		tmp
-REPO =		$(shell svn info | sed -n 's/^Repository Root: //p')
 
 OBJS =		objs.msvc8
 OPENSSL =	openssl-1.0.1e
@@ -38,40 +37,14 @@ release: export
 
 export:
 	rm -rf $(TEMP)
-
-	if [ -d .svn ]; then						\
-		svn export -rHEAD . $(TEMP)/$(NGINX);			\
-	else								\
-		hg archive -X '.hg*' $(TEMP)/$(NGINX);			\
-	fi
+	hg archive -X '.hg*' $(TEMP)/$(NGINX)
 
 
 RELEASE:
-	if [ -d .svn ]; then						\
-		$(MAKE) -f misc/GNUmakefile RELEASE.svn;		\
-	else								\
-		$(MAKE) -f misc/GNUmakefile RELEASE.hg;			\
-	fi
-
-	$(MAKE) -f misc/GNUmakefile release
-
-
-RELEASE.hg:
 	hg ci -m nginx-$(VER)-RELEASE
 	hg tag -m "release-$(VER) tag" release-$(VER)
 
-	
-RELEASE.svn:
-	test -d $(TEMP) || mkdir -p $(TEMP)
-
-	echo "nginx-$(VER)-RELEASE" > $(TEMP)/message
-	svn ci -F $(TEMP)/message
-
-	echo "release-$(VER) tag" > $(TEMP)/message
-	svn copy $(REPO)/trunk $(REPO)/tags/release-$(VER)		\
-		-F $(TEMP)/message
-
-	svn up
+	$(MAKE) -f misc/GNUmakefile release
 
 
 win32:
diff -r ecd762770729 -r 09dbd363050a misc/README
--- a/misc/README	Wed May 15 12:23:44 2013 +0400
+++ b/misc/README	Thu Apr 25 17:41:45 2013 +0400
@@ -1,6 +1,3 @@
-
-GNUmakefile, in svn it is available since 0.4.0 only.
-
 
 make -f misc/GNUmakefile release
 



More information about the nginx-devel mailing list