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

user defined property names

From: John Norris <john_at_norricorp.com>
Date: 2006-11-02 13:16:51 CET

I am interested in adding user defined property names to the drop down list
in the add property dialog.
I believe the best way to do this is to allow the user to add the names to
two text configuration files (one for files, one for directories). I
considered adding them as a registry value but it would need to be done for
each PC - this way the files can be stored on a shared drive and so reduce
admin as well as provide some security.
The values for the configuration files could be stored in the registry as
other admin values are.
It was suggested that instead of storing the file locations in the registry
they could be stored in a property.
I took this a stage further and stored the property names in two properties
(once gain, one for files, one for directories).
This approach has a number of advantages. There is no need for a separate
admin dialog from the original approach. There is no need to read files and
convert from ASCII to Unicode. Admin may be easier as there is nothing to
set up on the PC.
The disadvantage is where the properties should be attached. So that the
whole directory structure (trunk, branches, tags) is covered when the
properties are applied, the whole repository has to be checked out rather
than just trunk. Also, its possibly not as obvious. Security should be OK as
the directory the properties are attached to can be made read only.
So, I am not sure where the properties get attached but other than that,
"the user defined property names defined in a property" approach is the
preferred option.
Comments?

Regards,

John Norris
PS. Is something wrong with the website - it is very slow.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Nov 2 13:25:37 2006

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

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