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

[PATCH]operational logging for commit should log the target path

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-12-21 12:31:40 CET

Hi All,

Find the attached patch and log.

With regards
Kamesh Jayachandran

[[[

Commits should log the commit target path.

* subversion/mod_dav_svn/version.c
  (merge):
   Log commit target path also.

Patch by: kameshj
Suggested by: Honey George <george@collab.net>

]]]

Index: subversion/mod_dav_svn/version.c
===================================================================
--- subversion/mod_dav_svn/version.c (revision 22777)
+++ subversion/mod_dav_svn/version.c (working copy)
@@ -1350,7 +1350,9 @@
   /* We've detected a 'high level' svn action to log. */
   apr_table_set(target->info->r->subprocess_env, "SVN-ACTION",
                 apr_psprintf(target->info->r->pool,
- "commit r%" SVN_REVNUM_T_FMT, new_rev));
+ "commit '%s' r%" SVN_REVNUM_T_FMT,
+ target->info->repos_path,
+ new_rev));
 
   /* Since the commit was successful, the txn ID is no longer valid.
      Store an empty txn ID in the activity database so that when the

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 21 12:31:43 2006

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.