[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] 'svn info --xml' - v2

From: Alexander Thomas <alexander_at_collab.net>
Date: 2005-06-15 09:11:58 CEST

[[[
Version 2: Patch to add XML output for 'svn info' and send warnings to
stderr instead of stdout.

* subversion/clients/cmdline/main.c
  (svn_cl__cmd_table[]): Added --xml and --incremental options
  for svn info.

* subversion/clients/cmdline/dtd/info.dtd
  New dtd for info --xml.

* subversion/clients/cmdline/info-cmd.c
  (print_header_xml): New function.
  (print_footer_xml): New function.
  (kind_str): New function.
  (schedule_str): New function.
  (make_tagged_cdata): New function.
  (print_info_xml): New function.
  (info_receiver): Edited existing callback to print xml or
  traditional output depending on cmdline option.
  (svn_cl__info): Modified for XML output and redirected warnings to
stderr.

* tools/client-side/bash_completion
  (_svn): Added "--incremental" and "--xml" options to "info"
  for auto-completion.
]]]

Patch to add XML output for 'svn info' and send warnings to stderr
instead of stdout.

* subversion/clients/cmdline/main.c
  (svn_cl__cmd_table[]): Added --xml and --incremental options
  for svn info.

* subversion/clients/cmdline/dtd/info.dtd
  New dtd for info --xml.

* subversion/clients/cmdline/info-cmd.c
  (print_header_xml): New function.
  (print_footer_xml): New function.
  (kind_str): New function.
  (schedule_str): New function.
  (make_tagged_cdata): New function.
  (print_info_xml): New function.
  (info_receiver): Edited existing callback to print xml or
  traditional output depending on cmdline option.
  (svn_cl__info): Modified for XML output and redirected warnings to stderr.

* tools/client-side/bash_completion
  (_svn): Added "--incremental" and "--xml" options to "info"
  for auto-completion.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Jun 15 09:12:14 2005

This is an archived mail posted to the Subversion Dev mailing list.