You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2012/10/14 18:51:30 UTC

svn commit: r1398100 - /subversion/trunk/subversion/svn/log-cmd.c

Author: julianfoad
Date: Sun Oct 14 16:51:30 2012
New Revision: 1398100

URL: http://svn.apache.org/viewvc?rev=1398100&view=rev
Log:
Add missing 'prop-mods' and 'text-mods' attributes in the changed paths
section of the output of 'log -v --xml'.  When these attributes were added
in r877688 (first released in 1.7.0), they were accidentally only included
for copied paths.

Patch by: Першин Юрий Петрович <pe...@prosoftsystems.ru>

* subversion/svn/log-cmd.c
  (log_entry_receiver_xml): Always include 'prop-mods' and 'text-mods'
    attributes for changed paths.

Modified:
    subversion/trunk/subversion/svn/log-cmd.c

Modified: subversion/trunk/subversion/svn/log-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/log-cmd.c?rev=1398100&r1=1398099&r2=1398100&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/log-cmd.c (original)
+++ subversion/trunk/subversion/svn/log-cmd.c Sun Oct 14 16:51:30 2012
@@ -626,7 +626,13 @@ log_entry_receiver_xml(void *baton,
               /* <path action="X"> */
               svn_xml_make_open_tag(&sb, pool, svn_xml_protect_pcdata, "path",
                                     "action", action,
-                                    "kind", svn_cl__node_kind_str_xml(log_item->node_kind), NULL);
+                                    "kind", svn_cl__node_kind_str_xml(
+                                                     log_item->node_kind),
+                                    "text-mods", svn_tristate__to_word(
+                                                     log_item->text_modified),
+                                    "prop-mods", svn_tristate__to_word(
+                                                     log_item->props_modified),
+                                    NULL);
             }
           /* xxx</path> */
           svn_xml_escape_cdata_cstring(&sb, path, pool);