[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 checkout and update should log revnum too.

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-12-21 11:43:33 CET

Hi All,
Find the attached patch and log.

With regards
Kamesh Jayachandran

[[[

Checkout/export and Update should should log the revnum too.

* subversion/mod_dav_svn/reports/update.c
  (dav_svn__update_report):
   Log revnum for checkout/export and update.

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

]]]

Index: subversion/mod_dav_svn/reports/update.c
===================================================================
--- subversion/mod_dav_svn/reports/update.c (revision 22777)
+++ subversion/mod_dav_svn/reports/update.c (working copy)
@@ -1280,15 +1280,16 @@
            reports it (and it alone) to the server as being empty. */
         if (entry_counter == 1 && entry_is_empty)
           action = apr_psprintf(resource->pool,
- "checkout-or-export '%s'",
- svn_path_uri_encode(spath, resource->pool));
+ "checkout-or-export '%s' r%" SVN_REVNUM_T_FMT,
+ svn_path_uri_encode(spath, resource->pool),
+ revnum);
         else
           {
             if (text_deltas)
               action = apr_psprintf(resource->pool,
- "update '%s'",
- svn_path_uri_encode(spath,
- resource->pool));
+ "update '%s' r%" SVN_REVNUM_T_FMT,
+ svn_path_uri_encode(spath, resource->pool),
+ revnum);
             else
               action = apr_psprintf(resource->pool,
                                     "remote-status '%s'",

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

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