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

Re: CaSe insensetive OS not handled well

From: James FitzGibbon <jfitzgibbon_at_primustel.ca>
Date: 2005-08-21 13:20:56 CEST

On Aug-21-05, at 4:14 AM, Flex wrote:

> Just a little question about this pre-commit hook - if I have
> created a file \\UrL\FiLe.C and then try to update it with \\url
> \FILE.c will it handle the difference, correct it to be "\\UrL
> \FiLe.C" and post it? If so, this is indeed a solution and can be
> put into the windows install and make everyone happy?
Hooks can't change the content of a transaction:

http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1

What the hook does was in the first post of this thread:

--START--
This script can be called from a pre-commit hook on either Windows or
a Unix like operating system. It implements the checks required to
ensure that the repository acts in a way which is compatible with a
case insensitive file system.

When a file is added this script checks the file tree in the
repository for files which would be the same name on a case
insensitive file system and rejects the commit if there is a match.
---END---

Regards

-- 
j.
James FitzGibbon
Systems Developer, Primus Telecommunications Canada
416.644.6111
-- 
----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en franšais de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------
Received on Sun Aug 21 13:23:36 2005

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

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