Thanks for the suggestion troy. I was just wondering what impact do hook
scripts have on the server response time? Specially the ones which are
invoked too often, e.g pre-commit hooks when 50-60 users are interacting
with server simultaneously. Any thoughts?
-----Original Message-----
From: Troy Bull [mailto:tbull.work_at_gmail.com]
Sent: Wednesday, April 02, 2008 10:33 PM
To: Waqas Arshed
Subject: Re: [Windows] Problem with folder name having blank space at
the end
On Wed, Apr 2, 2008 at 6:29 AM, Waqas Arshed <warshed_at_systemsltd.com>
wrote:
>
>
> Hi All,
>
> I have set up Subversion 1.4.5 (r25188) and I just found out that if
> you rename a folder in subversion with a blank space at the end of the
name e.g.
> "foldername" -> "foldername ", you can no longer export the contents
> of that folder or checkout its parent folder on Windows. Suppose you
> have following
> structure:
>
> ParentFolder
> -ChildFolder
> -File.txt
>
> Rename "ChildFolder" to "ChildFolder ", then try to check out or
> export ParentFolder. Checkout will fail because subversion would not
> be able to create "ChildFolder " on Windows machine. Export will fail
> because, Windows will automatically remove the last space and create
> the folder with name "ChildFolder" instead of "ChildFolder " while
> exporting the contents, resulting again, in the failure of operation.
>
> I suppose this problem is specific to Windows OS only?
You could write a pre-commit hook that would detect and disallow these
sorts of changes. This is what I use for detecting file names that
differ only in case (another windows problem).
troy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-03 06:56:29 CEST