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

Re: [PATCH] [Issue 870] import should set svn:executable automatically

From: Brian Denny <brian_at_briandenny.net>
Date: 2002-09-26 04:51:30 CEST

On 25 Sep 2002, Ben Collins-Sussman wrote:

> Jeff Bellegarde <bellegar@peak.org> writes:
>
> > I put the code into 'svn_wc_add' in 'adm_ops.c'. I believe this does
> > the work when the 'svn add' command is given which would allow the
> > user to change 'svn:executable' before commiting. If it's done at
> > commit time the user will have to make another change to fix it.
>
> Actually, this may be a better solution. It means that we get the
> property automatically set not just at 'svn import' time, but when the
> user runs plain old 'svn add'. This would mirror our current
> binary-detection behavior, whereby we (possibly) set the
> svn:mime-type.

AFAICT code needs to go in both places ('import_file' in commit.c
as well as 'svn_wc_add' in adm_ops.c) in order to affect import
as well as add. this seems to be what happens with mime-type.

-brian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 26 04:55:35 2002

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.