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

Re: [PATCH] V2, diff preview without text deltas

From: steveking <steveking_at_gmx.ch>
Date: 2005-08-13 09:18:19 CEST

Martin Hauner wrote:

> +/** a struct that describes the diff of an item. Passed to
> + * svn_diff_preview_func_t.
> + *
> + * @since New in 1.3.
> + */
> +typedef struct svn_diff_preview_t
> +{
> + /** file or dir */
> + svn_node_kind_t node_kind;
> +
> + /** item paths, relative to the old diff target and new diff target */
> + const char* path_old;
> + const char* path_new;
> +
> + /** change kind: unchanged, added, modified or deleted */
> + svn_diff_preview_kind_t preview_kind;
> +
> + /** properties changed? */
> + svn_boolean_t props_changed;
> +
> +} svn_diff_preview_t;

Question: how would I find out if *only* the properties have changed and
not the file contents too?
Wouldn't it be better to have two booleans there, one indicating a
change in properties and one indicating a change in text content?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 13 09:21:15 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.