Hi, This patch removes the dead code in subversion/svn/list-cmd.c.
'--verbose' option is not valid in XML listing mode. The code will error out in svn_cl__list() itself when '--verbose' is combined with '--xml'.
Attached the patch and log message. Thanks & Regards, Vijayaguru
Index: subversion/svn/list-cmd.c =================================================================== --- subversion/svn/list-cmd.c (revision 1413487) +++ subversion/svn/list-cmd.c (working copy) @@ -151,8 +151,6 @@ { if (dirent->kind == svn_node_file) entryname = svn_dirent_basename(abs_path, pool); - else if (pb->verbose) - entryname = "."; else /* Don't bother to list if no useful information will be shown. */ return SVN_NO_ERROR;
Remove the unused code since verbose option is not valid in XML listing mode. * subversion/svn/list-cmd.c (print_dirent_xml): Remove the unused code. Patch by: Vijayaguru G <vijay{_AT_}collab.net>