[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Version numbers in the sources, tools/hook-scripts/

From: Peter Gervai <grin_at_tolna.net>
Date: 2002-12-17 22:28:32 CET

My first patch, so if anything's wrong, teach me. :-) [I checked HACKING and
already submitted patches for the format to follow.]
If this is okay, I am going to submit for the other tools/ as well.

* tools/hook-scripts/commit-access-control.pl, mailer.py,
  svnperms.py: insert revision information (HeadURL, LastChangedDate,
  LastChangedBy, LastChangedRevision) at the beginning of the
  files (same way as commit-email.pl and propchange-email.pl
  files already have them). *.pl have oneliner svn:keywords while
  *.py have them multiline to help break^H^H^H^Htesting both
  formats.

* mailer.conf.example, README: insert Id short revision information
  in the file.

Index: tools/hook-scripts/commit-access-control.pl
===================================================================
--- tools/hook-scripts/commit-access-control.pl (revision 4143)
+++ tools/hook-scripts/commit-access-control.pl (working copy)
@@ -6,6 +6,11 @@
 # commit in repository REPOS using the permissions listed in the
 # configuration file CONF_FILE.
 #
+# $HeadURL$
+# $LastChangedDate$
+# $LastChangedBy$
+# $LastChangedRevision$
+#
 # Usage: commit-access-control.pl REPOS TXN-NAME CONF_FILE
 #
 # ====================================================================

Property changes on: tools/hook-scripts/commit-access-control.pl
___________________________________________________________________
Name: svn:keywords
   + HeadURL LastChangedDate LastChangedBy LastChangedRevision

Index: tools/hook-scripts/mailer.py
===================================================================
--- tools/hook-scripts/mailer.py (revision 4143)
+++ tools/hook-scripts/mailer.py (working copy)
@@ -2,6 +2,11 @@
 #
 # mailer.py: send email describing a commit
 #
+# $HeadURL$
+# $LastChangedDate$
+# $LastChangedBy$
+# $LastChangedRevision$
+#
 # USAGE: mailer.py REPOS-DIR REVISION [CONFIG-FILE]
 #
 # Using CONFIG-FILE, deliver an email describing the changes between

Property changes on: tools/hook-scripts/mailer.py
___________________________________________________________________
Name: svn:keywords
   + HeadURL
LastChangedDate
LastChangedBy
LastChangedRevision

Index: tools/hook-scripts/svnperms.py
===================================================================
--- tools/hook-scripts/svnperms.py (revision 4143)
+++ tools/hook-scripts/svnperms.py (working copy)
@@ -1,4 +1,10 @@
 #!/usr/bin/python
+
+# $HeadURL$
+# $LastChangedDate$
+# $LastChangedBy$
+# $LastChangedRevision$
+
 import commands
 import sys, os
 import getopt

Property changes on: tools/hook-scripts/svnperms.py
___________________________________________________________________
Name: svn:keywords
   + HeadURL
LastChangedDate
LastChangedBy
LastChangedRevision

Index: tools/hook-scripts/mailer.conf.example
===================================================================
--- tools/hook-scripts/mailer.conf.example (revision 4143)
+++ tools/hook-scripts/mailer.conf.example (working copy)
@@ -1,6 +1,7 @@
 #
 # mailer.conf: example configuration file for mailer.py
 #
+# $Id$
 
 [general]
 diff = /usr/bin/diff -u -L %(label)s %(from)s %(to)s

Property changes on: tools/hook-scripts/mailer.conf.example
___________________________________________________________________
Name: svn:keywords
   + Id

Index: tools/hook-scripts/svnperms.conf.example
===================================================================
--- tools/hook-scripts/svnperms.conf.example (revision 4143)
+++ tools/hook-scripts/svnperms.conf.example (working copy)
@@ -1,5 +1,6 @@
 ## Example configuration file for svnperms.py. ##
 
+# $Id$
 #
 # Multiple global [groups] sections are accepted, but be aware
 # that it's the same as concatenating them all in a single entry.

Property changes on: tools/hook-scripts/svnperms.conf.example
___________________________________________________________________
Name: svn:keywords
   + Id

Index: tools/hook-scripts/README
===================================================================
--- tools/hook-scripts/README (revision 4143)
+++ tools/hook-scripts/README (working copy)
@@ -29,3 +29,5 @@
       Uses the `svnlook' program to send revision property change notice
       emails. Invoke it from `repository/hook/post-revprop-change'. Run
       the script with no arguments for usage.
+
+$Id$

Property changes on: tools/hook-scripts/README
___________________________________________________________________
Name: svn:keywords
   + Id

Index: tools/hook-scripts/commit-access-control.cfg.example
===================================================================
--- tools/hook-scripts/commit-access-control.cfg.example (revision 4143)
+++ tools/hook-scripts/commit-access-control.cfg.example (working copy)
@@ -1,5 +1,7 @@
 # This is a sample configuration file for commit-access-control.pl.
 #
+# $Id$
+#
 # This file uses the Windows ini style, where the file consists of a
 # number of sections, each section starts with a unique section name
 # in square brackets. Parameters in each section are specified as

Property changes on: tools/hook-scripts/commit-access-control.cfg.example
___________________________________________________________________
Name: svn:keywords
   + Id

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 17 22:29:25 2002

This is an archived mail posted to the Subversion Dev mailing list.