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

Re: [PATCH] 'svn info --xml' - v4

From: Alexander Thomas <alexander_at_collab.net>
Date: 2005-08-02 08:59:54 CEST

On Tue, 2005-08-02 at 00:06 +0100, Julian Foad wrote:
> Alexander Thomas wrote:
> >
> > * subversion/clients/cmdline/dtd/info.dtd
> > New dtd for info --xml.
>
> This DTD file is missing from the patch this time. Please could you send it.

Sorry, I missed out. Here I am posting an new version of the patch,
after changing APR_OFF_T_FMT to "%ld" along with the info.dtd file.

Regards
-Alexander Thomas(AT)

Patch to add XML output for 'svn info'.

* subversion/clients/cmdline/cl.h
  (svn_cl__node_kind_str): New prototype.

* subversion/clients/cmdline/util.c
  (svn_cl__node_kind_str): New function, return string kind.
  
* 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.
  (schedule_str): New function.
  (make_tagged_cdata): New function.
  (print_info_xml): New function.
  (print_info): Modified to use svn_cl__node_kind_str.
  (info_receiver): Edited existing callback to print xml or
  traditional output depending on cmdline option.
  (svn_cl__info): Modified for XML output.

* 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 Tue Aug 2 09:31:06 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.