From dev-return-2831-daniel=haxx.se@subversion.apache.org Tue Mar 23 23:54:34 2010 Return-Path: Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by giant.haxx.se (8.14.3/8.14.3/Debian-9) with SMTP id o2NMsX7D019532 for ; Tue, 23 Mar 2010 23:54:34 +0100 Received: (qmail 38943 invoked by uid 500); 23 Mar 2010 22:54:35 -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 38935 invoked by uid 99); 23 Mar 2010 22:54:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 22:54:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=AWL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [82.173.186.92] (HELO vip.vsoft.nl) (82.173.186.92) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 22:54:27 +0000 Received: from vip.alh.net.qqn.nl (localhost [127.0.0.1]) by mx0.qqn.nl (Postfix) with ESMTP id C8FDC732FC; Tue, 23 Mar 2010 23:54:05 +0100 (CET) X-Virus-Scanned: by amavisd-new/Clam Antivirus at mx0.qqn.nl Received: from mx0.qqn.nl ([127.0.0.1]) by vip.alh.net.qqn.nl (vip.alh.net.qqn.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MvSTu6PVYrJW; Tue, 23 Mar 2010 23:53:52 +0100 (CET) Received: from Quad (quad.alh.net.qqn.nl [192.168.0.11]) by mx0.qqn.nl (Postfix) with ESMTP id D4D93731C1; Tue, 23 Mar 2010 23:53:52 +0100 (CET) From: "Bert Huijben" To: "'neels'" , "'Greg Stein'" Cc: "'Julian Foad'" , References: <71551ccf1003190937o4f91009en445631a7a088583c@mail.gmail.com> <6cca3db31003192202s226733c4secc4626aee3cb831@mail.gmail.com> <71551ccf1003211629r1348146o734d869eb781444d@mail.gmail.com> <1269274060.21565.1238.camel@edith> <6cca3db31003220920n21964d38ofc35d74409b971c2@mail.gmail.com> <71551ccf1003231113t3a8f80do1c01dbb158d17908@mail.gmail.com> In-Reply-To: <71551ccf1003231113t3a8f80do1c01dbb158d17908@mail.gmail.com> Subject: RE: switching added files -- Re: What revision should an added not yet commited node have? Date: Tue, 23 Mar 2010 23:53:52 +0100 Message-ID: <001f01cacadb$b5fb3bf0$21f1b3d0$@nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcrKtKjlPpe22X0SQHeS5tPzvfP+jAAJldAw Content-Language: nl > -----Original Message----- > From: neels [mailto:neeels@gmail.com] > Sent: dinsdag 23 maart 2010 19:13 > To: Greg Stein > Cc: Julian Foad; dev@subversion.apache.org > Subject: Re: switching added files -- Re: What revision should an added > not yet commited node have? > > On 22 March 2010 17:20, Greg Stein wrote: > > I think the child is *always* a child of the parent. > > Greg, you definitely know that this works today: > > [[[ > $ svn add bar/y > A bar/y > > $ svn ci -mm > Adding bar/y > > $ svn switch --depth=empty '^/foo' bar > At revision 1. Note that while this might be/look supported... it is also a typical example which triggers issue #3569. You switch the directory to a new revision, but don't update its list of children to match that revision. So you will never receive the children of the node, even if you perform svn update --set-depth infinity. (There is no way to fix this situation except switching this node back to its original location@rev with depth empty and then performing the switch recursively) Bert