Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E952F1177D for ; Tue, 20 May 2014 22:03:16 +0000 (UTC) Received: (qmail 70946 invoked by uid 500); 20 May 2014 22:03:16 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 70916 invoked by uid 500); 20 May 2014 22:03:16 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 70909 invoked by uid 99); 20 May 2014 22:03:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 22:03:16 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of danellis10@gmail.com designates 74.125.82.181 as permitted sender) Received: from [74.125.82.181] (HELO mail-we0-f181.google.com) (74.125.82.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 22:03:11 +0000 Received: by mail-we0-f181.google.com with SMTP id w61so1158556wes.26 for ; Tue, 20 May 2014 15:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZFTBm4999Hzn/UdySgVzncEqavelJyC7H94rSoF+VTw=; b=oikwlI5jHIMngKnoW1GpmvxE0h7gAWwPyr2hlk4Ca0PTOmodKOD6+7fvb1hzlsZppg ibptH3Zn8UvPY3dIbM1wGraB9kLM49IObDcZf5UzxQmnoQjsOtFmkclJ8D7HdtmIXBCg sqwZ442b9FRdA3V1TP9mP913aNmdSKkFxFnvMRvL+AWe3zhlUSYp7G4YADg2y8h9MKVs nEcNRQh+25d0F7VItbP7AVSvGbtj1fyovCZknHCX4/hR2dWSoUAhpxy63zyhLKc2KxZF vFGxTI2fhfJ8UoYjWbBcmtdc3/y5xVtel91xqndHLC72vr42z7QzbyN4nxw1oFUXHPro //nw== MIME-Version: 1.0 X-Received: by 10.180.82.7 with SMTP id e7mr6728084wiy.6.1400623370040; Tue, 20 May 2014 15:02:50 -0700 (PDT) Received: by 10.194.24.164 with HTTP; Tue, 20 May 2014 15:02:49 -0700 (PDT) Date: Tue, 20 May 2014 15:02:49 -0700 Message-ID: Subject: Incorrect error message on svn copy? Advice? From: Dan Ellis To: Subversion Users Content-Type: multipart/alternative; boundary=f46d044288026fa80204f9dc0aa6 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044288026fa80204f9dc0aa6 Content-Type: text/plain; charset=UTF-8 Hi, I'm wondering if I'm getting an incorrect error message... I'm attempting to copy a file from a working copy to the server, but using an incorrect case for one of the folders in the path. The paths all exist and everything works fine using correct case. In the example below, "FOO" exists on the server as "foo". (Case 1) c:\Project_files\sandbox>svn copy bar.c http://svr/repo/some_project/FOO/bar.c -m "text commit" Adding copy of bar.c svn: E155011: Commit failed (details follow): svn: E155011: File 'C:\Project_files\sandbox\bar.c' is out of date svn: E160013: File not found: transaction '4249-3lp', path '/some_project/FOO/bar.c' If I correctly use "foo" instead of "FOO", I get the expected response: (Case 2) c:\Project_files\sandbox>svn copy bar.c http://svr/repo/some_project/foo/bar.c -m "test commit" Adding copy of bar.c Committed revision 4249. If I use --parents to create the path (in case it doesn't exist): (Case 3) c:\Project_files\sandbox>svn copy --parents bar.c http://svr/repo/some_project/FOO/bar.c -m "test commit" Adding copy of bar.c svn: E165001: Commit failed (details follow): svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output: ** ERROR-CASE: This repository is set to be case insensitive. ** ERROR-CASE: Clash: '/some_project/FOO' '/some_project/foo' 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. As I would expect, I cannot perform an "svn info" on the incorrect-cased path. I was hoping I could do an "svn info" to test/determine what the case corrected path is, but will have to try an "svn copy --parents" first and if it fails due to a case clash, retry with the returned clash info. Is there a better way to accomplish this? I do understand this is more of a corner use case, especially since Subversion is (properly IMO) designed around case sensitivity. Thanks, Dan --f46d044288026fa80204f9dc0aa6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I'm wondering if I'm gettin= g an incorrect error message...

I'm attempting= to copy a file from a working copy to the server, but using an incorrect c= ase for one of the folders in the path. =C2=A0The paths all exist and every= thing works fine using correct case. =C2=A0In the example below, "FOO&= quot; exists on the server as "foo".

(Case 1)
c:\Project_files\sandbox>svn= copy bar.c http://svr/r= epo/some_project/FOO/bar.c -m "text commit"
Adding = copy of =C2=A0 =C2=A0 =C2=A0 =C2=A0bar.c
svn: E155011: Commit failed (details follow):
svn: E155011: = File 'C:\Project_files\sandbox\bar.c' is out of date
svn:= E160013: File not found: transaction '4249-3lp', path '/some_p= roject/FOO/bar.c'

If I correctly use "foo" instead of &qu= ot;FOO", I get the expected response:



As I would expect, I cannot perform an "svn info&q= uot; on the incorrect-cased path. =C2=A0I was hoping I could do an "sv= n info" to test/determine what the case corrected path is, but will ha= ve to try an "svn copy --parents" first and if it fails due to a = case clash, retry with the returned clash info. =C2=A0Is there a better way= to accomplish this? =C2=A0I do understand this is more of a corner use cas= e, especially since Subversion is (properly IMO) designed around case sensi= tivity. =C2=A0

Thanks,
Dan
--f46d044288026fa80204f9dc0aa6--