Re: [PATCH] support printing changed properties in svnlook
From: Erik Johansson <erik_at_ejohansson.se>
Date: Wed, 5 Jan 2011 22:43:51 +0100
Hi,
I have now redone the patch to fix some of the comments given in this
Further more, I've tried to enumerate all cases that I could think of
mod_props is the per node hash with properties (see svn_repos_node2_t).
1. Add node w/o props => mod_props is NULL
Pretty straight-forward; mod_props contains what can be expected and
3. Delete node w/o props => mod_props is NULL
For case 4 it could be argued that mod_props should contain all props
5. Change (add, delete or modify) node props => mod_props contains all
Also straight-forward. Action is A, D or M depending on type of
6. Copy (i.e. add-with-history) node w/o props => mod_props is NULL
Case 7 is somewhat similar to case 4 in that one could argue that
8. Copy node w/ changed props [1] => mod_props contains all changed props
In this case one or several properties are added, deleted or modified
9. Replace (without history) node (w/ or w/o props) with node w/o
We don't include any props from the deleted node (case 3 and 4) and no
10. Replace node (w/ or w/o props) with node w/ props => mod_props
We don't include any props from the deleted node (case 3 and 4) but
11. Replace (with history) node (w/ or w/o props) with copied node w/
We don't include any props from the deleted node (case 3 and 4) nor
12. Replace node (w/ or w/o props) with copied node w/ modified props
We don't include any props from the deleted node (case 3 and 4) but
// Erik
-- Erik Johansson Home Page: http://ejohansson.se/ PGP Key: http://ejohansson.se/erik.asc
|
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.