[[[
Fixes issue #3292: Output svnlook diff content for copied/moved directories

* subversion/svnlook/main.c
  (print_diff_tree): If diff isn't outputted but header has content,
output the header.
]]]


Index: subversion/svnlook/main.c
===================================================================
--- subversion/svnlook/main.c   (revision 951625)
+++ subversion/svnlook/main.c   (working copy)
@@ -1087,6 +1087,11 @@
         }
       SVN_ERR(svn_cmdline_fflush(stdout));
     }
+  else if (header->len != 0)
+    {
+      /* Print diff header. */
+      SVN_ERR(svn_cmdline_printf(pool, "%s", header->data));
+    }

   /* Make sure we delete any temporary files. */
   if (orig_path)



-- 
Lamar Goddard
lamargodd...@gmail.com

Reply via email to