Author: gstein
Date: Sat May 11 16:49:53 2024
New Revision: 1917671

URL: http://svn.apache.org/viewvc?rev=1917671&view=rev
Log:
Use "seq" rather than python for a list of revnums.

* tools/hook-scripts/mailer/tests/mailer-t1.sh:
  (..): replace a bit of python with a simple invocation of "seq" to
    produce a list of revnums to generate commit messages.

Modified:
    subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh

Modified: subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh
URL: 
http://svn.apache.org/viewvc/subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh?rev=1917671&r1=1917670&r2=1917671&view=diff
==============================================================================
--- subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh (original)
+++ subversion/trunk/tools/hook-scripts/mailer/tests/mailer-t1.sh Sat May 11 
16:49:53 2024
@@ -48,7 +48,7 @@ rm -f $glom
 export TZ=GST
 
 youngest="`svnlook youngest $1`"
-for rev in `python -c "print(\" \".join(map(str, range(1,$youngest+1))))"`; do
+for rev in `seq $youngest`; do
   $2 commit $1 $rev $conf >> $glom
 done
 


Reply via email to