Re: Incorrect error message on svn copy? Advice?
From: Ryan Schmidt <subversion-2014_at_ryandesign.com>
Date: Wed, 21 May 2014 05:22:46 -0500
On May 20, 2014, at 17:02, Dan Ellis wrote:
> I'm wondering if I'm getting an incorrect error message...
You're trying to create something in the non-existent directory FOO, which is an error. It never gets to the point of calling your hook script. (The message might be clearer if it said "Directory not found: , path '/some_project/FOO'" instead of "File not found: , path '/some_project/FOO/bar.c'".)
> If I correctly use "foo" instead of "FOO", I get the expected response:
You've asked Subversion to create a file in an existing folder. No problem.
> If I use --parents to create the path (in case it doesn't exist):
You've asked Subversion to create a directory FOO when a directory foo already exists, which would be fine, except your hook script prevents case collisions.
> It appears we are using a server-side script to prevent name clashes (since we are using windows clients) on our server in Case 3. Why would Case 3 get caught (--parents) but Case 1 seem to slip by this server side script and return a different error? I assume we're using the stock case-insensitive.py, but regardless, I don't understand the behavior difference.
What exactly are you trying to accomplish? If the problem is that you don't know the names (or cases) of the directories in the repository, then you can use "svn ls" to find out.
|
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.