Re: [WIP] Make the patch code accept dirs as targets for prop only patches

2010-07-26 Thread Daniel Näslund
On Mon, Jul 26, 2010 at 01:07:14PM +0200, Stefan Sperling wrote: > On Mon, Jul 26, 2010 at 09:59:01AM +0200, Daniel Näslund wrote: > > Index: subversion/libsvn_client/patch.c > > === > > --- subversion/libsvn_client/patch.c(rev

Re: [WIP] Make the patch code accept dirs as targets for prop only patches

2010-07-26 Thread Stefan Sperling
On Mon, Jul 26, 2010 at 09:59:01AM +0200, Daniel Näslund wrote: > [[[ > Enable the patch code to use dirs as targets if we only have property > changes. > > * subversion/libsvn_client/patch.c > (patch_target_t): Add fields 'has_text_changes' and 'has_prop_changes' > to be able to decide if w

[WIP] Make the patch code accept dirs as targets for prop only patches

2010-07-26 Thread Daniel Näslund
Hi Stefan! A few questions and a WIP patch for making the patch code deal with property targets being dirs. * How should we deal with SVN_ERR_ILLEGAL_TARGET? svn_wc_prop_set() throws one of those if we for instance try to set svn:executable on a dir or svn:ignore on a file. Should we do some