You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2021/09/08 09:28:08 UTC

svn commit: r1893120 - /httpd/dev-tools/github/apply_backport_pr.sh

Author: rpluem
Date: Wed Sep  8 09:28:08 2021
New Revision: 1893120

URL: http://svn.apache.org/viewvc?rev=1893120&view=rev
Log:
* Show files not under version control

Show files not under version control as they might have been
added by the backport patch and now need to be 
svn add / svn propset svn:eol-style native.

Modified:
    httpd/dev-tools/github/apply_backport_pr.sh

Modified: httpd/dev-tools/github/apply_backport_pr.sh
URL: http://svn.apache.org/viewvc/httpd/dev-tools/github/apply_backport_pr.sh?rev=1893120&r1=1893119&r2=1893120&view=diff
==============================================================================
--- httpd/dev-tools/github/apply_backport_pr.sh (original)
+++ httpd/dev-tools/github/apply_backport_pr.sh Wed Sep  8 09:28:08 2021
@@ -69,5 +69,20 @@ cat clog
 
 make update-changes
 
+UNVERSIONED_FILES=`svn status . | egrep '^\?' | tr -s " " | cut -f2 -d " "`
+
+if [ -n "$UNVERSIONED_FILES" ] ; then
+    echo "The following files are not under version control:"
+    echo
+    echo $UNVERSIONED_FILES | tr ' ' '\n'
+    echo
+    echo "Add them via:"
+    echo
+    for i in $UNVERSIONED_FILES ; do
+        echo "svn add $i"
+        echo "svn propset svn:eol-style native $i"
+    done
+fi
+
 grep --color=auto -i "skip ci" clog