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

Re: Requests

From: Gavin Lambert <tsvn_at_mirality.co.nz>
Date: Fri, 20 Sep 2013 14:54:04 +1200

On 9/19/2013 6:12 AM, Quoth Stefan Küng:
>> 2. when adding folders to a working copy TortoiseSVN always explicitly
>> copies over the properties like bugtraq:logregex, bugtraq:url,
>> bugtraq:warnifnoissue, tsvn:lockmsgminsize, tsvn:logminsize and
>> webviewer:revision (strangely not bugtraq:number) from any nearest
>> ancestor. I find that very annoying /and //somehow even
>> confusing/dangerous because the behaviour is inconsistent with
>> //other svn client/s. Some time ago I read this was by design,
>
> Other svn clients don't have those properties.
>
>> though ever since the new inheritable properties idea I hope this
>> can be reconsidered. Most of the time it just makes the data
>> abundant, and hard to adjust later as you have to replace the
>> properties with the same value everywhere. Why not now make this
>> behaviour "toggable" through a new inheritable property like
>> tsvn:auto-recurse?
>
> Problem is that pre-1.8 clients do not have the inheritable properties
> so the project properties still need to be set on all folders.

Except that by design TSVN itself already searched up the working tree
for these properties, so they were already naturally inherited even
without being copied. And this goes at least as far back as 1.4,
probably even older.

The only thing that copying saved you from AFAIK is if you created a
subfolder and then checked out a working copy root to that subfolder.
And that seems to me to be a pathological case (which would be obvious
and easy to resolve manually). (Creating branches/tags doesn't count as
they would naturally inherit the properties from their source folder.)

Basically it's only of use when creating a new project in a repository
that uses separate per-project trunks instead of a single shared trunk.
  And even then, it's most likely that you'd want the properties set
only on the trunk, not the project folder or the parent folder, or the
branch/tag parent folders. And reasonable to expect that some of them
(eg. bugtraq) to be different for different projects. So it's still
more common than not that you do not want to copy the properties, or
that there wouldn't be any properties to copy anyway.

I've said several times that this auto-copying is painful to deal with
and I wish it would go away (or at least have an option to make it go
away, so that I can then make a commit-hook to yell at anyone who turns
it on). It violates the ODR, quite apart from anything else.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-20 04:54:29 CEST

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.