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 D899A4ADA for ; Wed, 8 Jun 2011 12:33:35 +0000 (UTC) Received: (qmail 91934 invoked by uid 500); 8 Jun 2011 12:33:35 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 91914 invoked by uid 500); 8 Jun 2011 12:33:35 -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 91905 invoked by uid 99); 8 Jun 2011 12:33:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 12:33:35 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_NEUTRAL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.194.35.70] (HELO alea.erlm.siemens.de) (217.194.35.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 12:33:26 +0000 Received: from alea.erlm.siemens.de (localhost.localdomain [127.0.0.1]) by alea.erlm.siemens.de (Postfix) with ESMTP id 88EB58E006B; Wed, 8 Jun 2011 14:33:05 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by alea.erlm.siemens.de (Postfix) with ESMTP id 75C268E0069; Wed, 8 Jun 2011 14:33:05 +0200 (CEST) Received: from alea.erlm.siemens.de ([127.0.0.1]) by localhost (alea.erlm.siemens.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v9Vu6uh-IhnX; Wed, 8 Jun 2011 14:33:05 +0200 (CEST) Received: from [146.254.164.9] (helo=alea.erlm.siemens.de) by localhost with ESMTP (eXpurgate 3.2.2) (envelope-from ) id 4def6c01-746c-7f00000189d0-1 for ; Wed, 08 Jun 2011 14:33:05 +0200 Received: from medeon.erlm.siemens.de (medeon.erlm.siemens.de [146.254.164.9]) by alea.erlm.siemens.de (Postfix) with ESMTP; Wed, 8 Jun 2011 14:33:05 +0200 (CEST) Received: from erlm801a.ww001.siemens.net (erlm801a.ww001.siemens.net [146.254.188.139]) by medeon.erlm.siemens.de (Postfix) with ESMTP id EC3DC748033; Wed, 8 Jun 2011 14:33:04 +0200 (CEST) Received: from oxfw0e1a.ww001.siemens.net ([137.223.19.228]) by erlm801a.ww001.siemens.net with Microsoft SMTPSVC(6.0.3790.4675); Wed, 8 Jun 2011 14:33:04 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: svn copy (server-side) into existing folder Date: Wed, 8 Jun 2011 13:33:02 +0100 Message-ID: <38E3A921A2B9FC46B02E566BDED7CF4E04632D79@oxfw0e1a.ww001.siemens.net> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: svn copy (server-side) into existing folder Thread-Index: Acwl15VK+yLZJVhKQNuXRasBYMFCAwAAGsdw References: <1904E9DE-9B93-41EB-A075-7A866F12E13A@ryandesign.com><20110608110103.GJ5178@inner.h.iocl.org> From: "Cooke, Mark" To: "Nico Kadel-Garcia" , "Johan Corveleyn" Cc: "Andreas Krey" , "Ryan Schmidt" , "Schroeder, Hartmut" , X-OriginalArrivalTime: 08 Jun 2011 12:33:04.0616 (UTC) FILETIME=[369A7E80:01CC25D8] X-purgate: noscan X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Nico Kadel-Garcia [mailto:nkadel@gmail.com]=20 > Sent: 08 June 2011 13:28 > To: Johan Corveleyn > Cc: Andreas Krey; Ryan Schmidt; Schroeder, Hartmut;=20 > users@subversion.apache.org > Subject: Re: svn copy (server-side) into existing folder >=20 > On Wed, Jun 8, 2011 at 7:18 AM, Johan Corveleyn=20 > wrote: > > On Wed, Jun 8, 2011 at 1:01 PM, Andreas Krey wrote: > >> On Wed, 08 Jun 2011 05:16:42 +0000, Ryan Schmidt wrote: > >> ... > >>> This behavior is consistent with the unix cp command and=20 > should therefore not be unexpected. > >> > >> It is not unexpected, but stupid. As 'svn cp' is also the tool to > >> create tags, it is rather strange that you can just do > >> > >> =A0svn cp ${base}/trunk ${base}/tags/1.0.0 > >> > >> (that is, create a tag) twice in a row with any warning whatsoever, > >> and ending up with an extra 'trunk' dir in the tag. > >> > >> Has bitten us more than once. > > > > To avoid that, you could have a pre-commit hook refuse any commits > > inside tags, to make tags really unchangeable things. >=20 > +1 for sanity. Only site admins with local file access or other > authorized permissions should be able to edit tags. >=20 ...as this is something I have been meaning to do for a while, can = someone point me to a suitable script for a windoze environment? All = the sample scripts I find seem to be *nix shell scripts... Many thanks (and apologies for the almost hi-jack) ~ mark c