Flex wrote:
> Can svn commit file.C and file.c a the same time, same folder now? And
> does anyone uses that in fact? If not, can it be "disabled" so basicly
> imitates this pre-commit hook?
I would expect, yes it can be done.
Disabling is not an option I think.
You want to have consistent filenames all over the project, which need not be
'all lowercase' (that is just one view of 'consistent').
> Of course the pre-commit hook can be used too (when -NCS is not
> specified) to guard against mistakes, just as it does it now, but
> better if the whole system handles that.
The trouble with pre-commit hooks imho is that you are doing damage control
rather than prevent damage from happening.
For a long term solution I think that is not the right direction.
The same is also true for the -ncs flag to some extent, do you really want to
forever have to specify the -ncs option?
>>It also involves an understanding of your platform and your file system
>>for the client _and_ server machine you are working with.
>
>
>>I would be more open to a new property called "svn:case-insensitive"
>>which acted like the "svn:executable" property. If set the client
>>performs a well defined, deterministic action on the file/directory.
>>This action could be munging all the file names to lower case, upper
>>case or something else.
>
>
> There is one problem with this approach - the properties gets stored
> and distributed so there is a nice chance someone with CS system to
> checkout folder that has this property set from an NCS system.
and of course not all clients use the same action, and we have chaos...
In other words, the 'action' needs to be consistent over all machine in the
project, which in turn makes it possible to do this action at the moment of
adding the file only, which in turn means the svn:case-insensitive flag is not
needed.
(maybe it is just me, but I cannot really imagine how a *file* can be case
insensitive).
I was thinking about a svn:filename tag, which is very nice too, we don't need
svn mv anymore then...(and we can have unicode filenames for free! Finally, I
can write my "◇" :-) )
Who needs names at the file system.... :-)
Albert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 23 13:27:29 2005