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

SVNAutoversion commit message

From: Rob Braun <bbraun_at_synack.net>
Date: 2005-03-18 02:00:02 CET

We're looking at using SVNAutoversioning, but found the generic
commit message a bit useless. I've added the IP of the client
doing the modification, which combined with the time of the commit,
is enough information for our purposes. Here is the change.


diff -udr subversion-1.1.1/subversion/mod_dav_svn/version.c /usr/src/redhat/SOURCES/subversion-1.1.1/subversion/mod_dav_svn/version.c
--- subversion-1.1.1/subversion/mod_dav_svn/version.c 2004-10-21 12:30:07.000000000 -0700
+++ /usr/src/redhat/SOURCES/subversion-1.1.1/subversion/mod_dav_svn/version.c 2005-03-17 15:30:11.728516814 -0800
@@ -60,8 +60,10 @@
                          "set_auto_log_message called on invalid resource.");
   logmsg = apr_psprintf(resource->pool,
- "Autoversioning commit: a non-deltaV client made "
- "a change to\n%s", resource->info->repos_path);
+ "Autoversioning commit: a non-deltaV client at %s "
+ "made a change to\n%s",
+ resource->info->r->connection->remote_ip,
+ resource->info->repos_path);
   logval = svn_string_create(logmsg, resource->pool);

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 21 15:09:45 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.