Hi! I noticed that the following svn info call outputs the path to the working copy root in Subversion's "internal style":
svn info --show-item wc-root C:/Projects/subversion At the same time, svn info call without parameters outputs the path correctly, using "local style": svn info ... Working Copy Root Path: C:\Projects\subversion ... I have attached a patch that adds a missing svn_dirent_local_style() call to the print_info_item() function, where the corresponding wc-root path is processed. Best Regards, Denis Kovalchuk
Fix: svn info outputs wc-root path in the internal style The following svn info call outputs the path to the working copy root in the internal style: svn info --show-item wc-root Fix this by adding a missing conversion to the local style. * subversion/svn/info-cmd.c (print_info_item): Add missing svn_dirent_local_style() call for wc-root path, when info_item_wc_root is processed. Patch by: Denis Kovalchuk <denis.kovalc...@visualsvn.com> Index: subversion/svn/info-cmd.c =================================================================== --- subversion/svn/info-cmd.c (revision 1910237) +++ subversion/svn/info-cmd.c (working copy) @@ -1267,10 +1267,16 @@ break; case info_item_wc_root: - SVN_ERR(print_info_item_string( - (info->wc_info && info->wc_info->wcroot_abspath - ? info->wc_info->wcroot_abspath : NULL), - target_path, pool)); + { + const char *wc_root; + + if (info->wc_info && info->wc_info->wcroot_abspath) + wc_root = svn_dirent_local_style(info->wc_info->wcroot_abspath, pool); + else + wc_root = NULL; + + SVN_ERR(print_info_item_string(wc_root, target_path, pool)); + } break; case info_item_schedule: