Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B52DC5AE for ; Mon, 3 Jun 2013 11:31:38 +0000 (UTC) Received: (qmail 72488 invoked by uid 500); 3 Jun 2013 11:31:38 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 72452 invoked by uid 500); 3 Jun 2013 11:31:38 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 72445 invoked by uid 99); 3 Jun 2013 11:31:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 11:31:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.182.0.52] (HELO mail-a.speedkom.net) (213.182.0.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 11:31:31 +0000 Received: from SERVER10.in.3s-software.com (pat-out.3s-software.com [213.182.7.179]) by mail-a.speedkom.net with ESMTP id r53BVAiW011730 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 3 Jun 2013 13:31:10 +0200 Received: from SERVER10.in.3s-software.com ([192.168.100.4]) by SERVER10 ([192.168.100.4]) with mapi id 14.02.0342.003; Mon, 3 Jun 2013 13:31:09 +0200 From: Markus Schaber To: "peter.weinert@gns-mbh.com" , "dev@subversion.apache.org" Subject: AW: unable to commit in linked subdirectory of repository checkout Thread-Topic: unable to commit in linked subdirectory of repository checkout Thread-Index: AQHOYEiirvMPJnIVfUCKP8LOXDZ8nJkj2RaA Date: Mon, 3 Jun 2013 11:31:08 +0000 Message-ID: <727D8E16AE957149B447FE368139F2B51A3171F4@SERVER10> References: <51AC7471.2090105@gns-mbh.com> In-Reply-To: <51AC7471.2090105@gns-mbh.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.101.112] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Peter, Von: Peter Weinert [mailto:peter.weinert@gns-mbh.com] >=20 > system: linux > subversion: v1.7.x >=20 > this problem starts when using version 1.7 of subversion. > until 1.6 every sub-dir had its own '.svn', so wherever i was, all > information to commit update was available. > now there's only one, where one checked out the repo. In my eyes, the fact that SVN changed to a single .svn directory is a big a= dvantage, brings SVN on par to other RCSes in this area, and should not be = reverted back. :-) Additionally, SVN normally finds its way up to the working copy root when y= ou issue a command in a subdirectory (try it by cd'ing to the destination o= f your symlink and then issuing the commit command there), so this change i= tself is not the cause for your problems. > this is problematic when having somewhere else a symbolc-link to a sub-di= r of > that checkout. > it's impossible to do anything with svn on that link because svn can't fi= nd > the repository data and always returns: >=20 > svn: E155007: ' .... filename ..... ' is not a working copy >=20 > because of many automated process / web-server-scripts / etc. that access= the > data in our case, it would be very beneficient if such things would still= be > possible with svn 1.7... otherwise we'd be stuck with last release of v1= .6, > because it would mean to rewrite a very large amount of scripts to adapt = to > such changes... What's the exact use case of using those symlinks? Could you add a wrapper shell script which follows the symlink by changing = the current directory to its destination, and then issue the command from t= here? Or resolve the symlink, and pass the absolute destination path to the SVN c= ommand? > suggestion: have a symbolic link (on supported systems, like linux, unix, > etc.) that points to the .svn-dir where the base-path of the checkout can= be > determined and therefore the repositry-url, etc. Adding those symbolic links seems to clutter the working directories for a = questionable benefit (e. G. imagine someone moving or renaming a subdirecto= ry of a WC using shell commands - the contained symlink would be broken tha= n, and confuse SVN and users even more. Best regards Markus Schaber CODESYS(r) a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.schaber@codesys.com | Web: http://www.codesys.com | CODESYS store= : http://store.codesys.com CODESYS forum: http://forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade= register: Kempten HRB 6186 | Tax ID No.: DE 167014915