Fix issue #2809: svnlook proplist output should be machine parsable (e.g. XML)
Fix issue #2809: svnlook proplist output should be machine parsable (e.g. XML)

Add '--xml' option for 'svnlook plist' to give XML output when the user
wants it.

* subversion/svnlook/main.c
  (): Include svn_xml.h, svn_base64.h.
  (enum): Add svnlook__xml_opt.
  (options_table, cmd_table, svnlook_opt_state): Add new option for --xml.
  (print_xml_prop): New function to print props in xml which is same as
   svn_cl__print_xml_prop.
  (do_plist): Accept opt_state for xml and throw output in xml if opted.
  (subcommand_plist): Call do_plist with xml option state.
  (main): Add a case to see whether user provided --xml.

Patch by: stylesen


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@872052 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion