httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgilbern...@apache.org
Subject svn commit: r1740746 - /httpd/site/trunk/content/docs-project/modifs-detection
Date Mon, 25 Apr 2016 00:23:40 GMT
Author: lgilbernabe
Date: Mon Apr 25 00:23:39 2016
New Revision: 1740746

URL: http://svn.apache.org/viewvc?rev=1740746&view=rev
Log:
Script to check the diffs (bash)

Added:
    httpd/site/trunk/content/docs-project/modifs-detection

Added: httpd/site/trunk/content/docs-project/modifs-detection
URL: http://svn.apache.org/viewvc/httpd/site/trunk/content/docs-project/modifs-detection?rev=1740746&view=auto
==============================================================================
--- httpd/site/trunk/content/docs-project/modifs-detection (added)
+++ httpd/site/trunk/content/docs-project/modifs-detection Mon Apr 25 00:23:39 2016
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+# Constantes
+BRANCH_2_2=httpd-2.2/
+BRANCH_2_4=httpd-2.4/
+BRANCH_TRUNK=httpd-trunk/
+MODIFS_2_2_X=modifs-2.2.x.txt
+MODIFS_2_4_X=modifs-2.4.x.txt
+MODIFS_TRUNK=modifs-trunk.txt
+
+# 2.2 update
+svn update $BRANCH_2_2 > $MODIFS_2_2_X
+
+# 2.4 update
+svn update $BRANCH_2_4 > $MODIFS_2_4_X
+
+# trunk update
+svn update $BRANCH_TRUNK > $MODIFS_TRUNK
+
+# Displaying result
+echo "2.2 branch modifications:"
+if [ -f $MODIFS_2_2_X ]
+then
+	grep ".xml" $MODIFS_2_2_X
+fi
+
+echo -e "\n2.4 branch modifications:"
+if [ -f $MODIFS_2_4_X ]
+then
+	grep ".xml" $MODIFS_2_4_X
+fi
+
+echo -e "\ntrunk branch modifications:"
+if [ -f $MODIFS_TRUNK ]
+then
+	grep ".xml" $MODIFS_TRUNK
+fi
+
+



Mime
View raw message