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

[PATCH] issue #2069 - "svn status" in xml mode - v5

From: Alexander Thomas <alexander_at_collab.net>
Date: 2005-05-30 07:49:05 CEST

Version 5 of the patch for svn status --xml is attached.

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

* subversion/clients/cmdline/cl.h
  (svn_cl__print_status_xml): Added new function prototype.

* subversion/clients/cmdline/status.c
  (generate_status_desc): New function.
  (svn_cl__print_status_xml): New function to handle xml output.

* subversion/clients/cmdline/main.c
  (svn_cl__cmd_table): Added --incremental and --xml options to
  subcommand array.

* subversion/clients/cmdline/status-cmd.c
  (struct status_baton): Added new boolean field.
  (print_start_target_xml): New function.
  (print_header_xml): New function.
  (print_footer_xml): New function.
  (print_finish_target_xml): New function.
  (print_status): Edited to check --xml option.

* subversion/clients/cmdline/dtd/status.dtd
  New file.

* subversion/tests/clients/cmdline/stat_tests.py
  (status_in_xml): New test.
  (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)

Patch to fix issue 2069 - "svn status" in xml mode

* subversion/clients/cmdline/cl.h
  (svn_cl__print_status_xml): Added new function prototype.

* subversion/clients/cmdline/status.c
  (generate_status_desc): New function.
  (svn_cl__print_status_xml): New function to handle xml output.

* subversion/clients/cmdline/main.c
  (svn_cl__cmd_table): Added --incremental and --xml options to
  subcommand array.

* subversion/clients/cmdline/status-cmd.c
  (struct status_baton): Added new boolean field.
  (print_start_target_xml): New function.
  (print_header_xml): New function.
  (print_footer_xml): New function.
  (print_finish_target_xml): New function.
  (print_status): Edited to check --xml option.

* subversion/clients/cmdline/dtd/status.dtd
  New file.

* subversion/tests/clients/cmdline/stat_tests.py
  (status_in_xml): New test.
  (test_list): Added status_in_xml.

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

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

Received on Mon May 30 07:51:31 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.