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

[PATCH] support printing changed properties in svnlook

From: Erik Johansson <erik_at_ejohansson.se>
Date: Wed, 8 Dec 2010 17:17:47 +0100

Hi,

Please see attached patch. Comments most welcome, specially if there
is a better/less intrusive way of implementing <subject>.

Please CC me as I'm not subscribed to the list.

// Erik

[[[
Support printing changed properties in svnlook by passing the "-v" parameter to
the "svnlook changed" command. The changed properties are printed one property
per line with the format: <status> <path>;<prop name>

To support this, the editor created by svn_repos_node_editor has been modified
to record changes to properties (requires the replay to be done with deltas).

* subversion/include/svn_repos.h
  (svn_repos_node_prop_t): New struct to represent a change to a property.
  (svn_repos_node_t): Add pointer to list of changed properties.

* subversion/libsvn_repos/node_tree.c
  (change_node_prop): Add changed properties to the node structure.

* subversion/svnlook/main.c
  (cmd_table subcommand_changed do_changed): New "verbose" option to indicate
   if changed properties should be printed or not.
  (generate_delta_tree): New parameter to make the replay with or without
   deltas.
  (do_dirs_changed do_diff): Add new parameter to generate_delta_tree call.
  (print_changed_tree): Support printing changed properties.
]]]

-- 
Erik Johansson
Home Page: http://ejohansson.se/
PGP Key: http://ejohansson.se/erik.asc

Received on 2010-12-08 22:30:56 CET

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.