You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by pb...@apache.org on 2012/11/20 20:58:39 UTC

svn commit: r1411831 - /subversion/trunk/subversion/svn/proplist-cmd.c

Author: pburba
Date: Tue Nov 20 19:58:39 2012
New Revision: 1411831

URL: http://svn.apache.org/viewvc?rev=1411831&view=rev
Log:
Improve the output of 'svn pl --show-inherited-props' so it is clearer
as to what paths any inherited properties apply.

Suggested by: jcorvel

See http://svn.haxx.se/dev/archive-2012-11/0510.shtml

* subversion/svn/proplist-cmd.c
  (proplist_receiver): Print the inheritor of any inherited props.





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

Modified: subversion/trunk/subversion/svn/proplist-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/proplist-cmd.c?rev=1411831&r1=1411830&r2=1411831&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/proplist-cmd.c (original)
+++ subversion/trunk/subversion/svn/proplist-cmd.c Tue Nov 20 19:58:39 2012
@@ -151,12 +151,13 @@ proplist_receiver(void *baton,
             {
               if (svn_path_is_url(iprop->path_or_url))
                 SVN_ERR(svn_cmdline_printf(
-                  iterpool, _("Properties inherited from '%s':\n"),
-                  iprop->path_or_url));
+                  iterpool, _("Inherited properties on '%s',\nfrom '%s':\n"),
+                  name_local, iprop->path_or_url));
               else
                 SVN_ERR(svn_cmdline_printf(
-                  iterpool, _("Properties inherited from '%s':\n"),
-                  svn_dirent_local_style(iprop->path_or_url, iterpool)));
+                  iterpool, _("Inherited properties on '%s',\nfrom '%s':\n"),
+                  name_local, svn_dirent_local_style(iprop->path_or_url,
+                                                     iterpool)));
             }
 
           SVN_ERR(svn_cl__print_prop_hash(NULL, iprop->prop_hash,