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

RE: Re: Project properties: inheritance vs. copying

From: Gavin Lambert <colnet_at_mirality.co.nz>
Date: Tue, 29 Jan 2013 14:35:36 -0800 (PST)

[...]
> > > Why would I want to have the project properties copied if I can rely on inheritance? I find that it makes project maintenance more difficult.
> > >
> > > Is there a rationale behind the copying function?
> >
> > You can rely on inheritance _if_ you have the parent folder checked
> > out. If you create a new subfolder, say a new program under the main
> > project umbrella, and you don't copy the properties, someone else
> > could checkout just that one program without the parent and they would
> > not then get the parent's properties.
>
> If that is the reason for copying, then the inheritance mechanism is redundant.
[...]
> In my case I can rely on inheritance, because I can guarantee that the main project directory is always checked out. Thus copying makes no sense. Even worse, it interferes with inheritance by overriding the inherited values.
[...]

I would like to re-raise this issue and recommend disabling the copying of properties by default. I regard this behaviour as a bug.

I have a hard time imagining any scenario in which it is actually useful (I don't see checking out subsets of a project and then committing as at all likely), and it makes central management of settings significantly more difficult, as you then have to chase down and delete all the stray copies that have been made of the old values. (Which typically requires using the console, as TSVN doesn't appear to have a "recursive find which objects this property is set on" function.)

Or at the very least, please give us another project property that we can set on the root that disables property copying for all subfolders. (This is less preferred, though, because AFAIK only TSVN does the copying in the first place, so repository admins using other clients will still get surprise property copies until they learn about this.)

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3046623

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-01-29 23:35:40 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.