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

Re: [PATCH] issue #2069 - "svn status" in xml mode - v4

From: <alexander_at_collab.net>
Date: 2005-05-19 15:28:00 CEST

[[[
Version 4: Patch to fix issue 2069 - "svn status" in xml mode

* subversion/clients/cmdline/cl.h
  (svn_cl__print_status_xml): added prototype for new function
  (svn_cl__get_notifier2) : added prototype for new wrapper function

* subversion/clients/cmdline/status.c
  (generate_status_desc): new function for getting detailed string
  representation of status
  (print_status_xml): new function to print status in XML format
  to stdout
  (svn_cl__print_status_xml): new function handling xml output and calls
  print_status_xml function

* subversion/clients/cmdline/notify.c
  (struct notify_baton): added new element in notify baton
  (notify): restricted printing the 'Status against revision' in xml mode
  (svn_cl__get_notifier2): new wrapper function for selecting xml output,

* subversion/clients/cmdline/main.c
  (svn_cl__cmd_table[]): added --incremental and --xml options in to
  subcommand array for status subcommand

* subversion/clients/cmdline/status-cmd.c
  (struct status_baton): added new item 'xml_mode' in struct
  for storing xml mode is requested or not
  (print_header_xml): prints xml header
  (print_footer_xml): prints xml footer
  (print_against_xml): prints status against version details in xml
  (print_status): checks xml option and calls xml handling routine,
  sets notification details, and also prints xml header and footer

* subversion/clients/cmdline/dtd/status.dtd
  added a new dtd file for validating status xml

* subversion/tests/clients/cmdline/stat_tests.py
  (status_in_xml): new function to verify success when
  svn status output in xml format
  (test_list): added status_in_xml

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

-Alexander Thomas (AT)

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

Received on Thu May 19 15:31:42 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.